pmmgr eating CPU, continuously logging errors to pmmgr.log
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pcp (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The pmmgr process on my system is constantly using 36% or so CPU time, and contantly logging messages like those below to /var/log/
Log finished Thu Jan 23 13:49:15 2014
/bin/mkdir: cannot create directory '/var/log/
pmieconf: error - cannot write file /var/log/
[Thu Jan 23 13:49:15] pmmgr(12079/2184): /etc/pcp/pmmgr: system(
touch: cannot touch '/var/log/
[Thu Jan 23 13:49:15] pmmgr(12079/2182): /etc/pcp/pmmgr: system(
pmie: cannot open log "/var/log/
Log for pmie on nturner-desktop started Thu Jan 23 13:49:15 2014
pmie: cannot find realpath for log /var/log/
Log finished Thu Jan 23 13:49:15 2014
pmlogger: cannot open log "/var/log/
Log for pmlogger on nturner-desktop started Thu Jan 23 13:49:15 2014
pmlogger: Warning: log file (/var/log/
pmlogger: Cannot open config file "/var/log/
Log finished Thu Jan 23 13:49:15 2014
/bin/mkdir: cannot create directory '/var/log/
pmieconf: error - cannot write file /var/log/
[Thu Jan 23 13:49:15] pmmgr(12079/2206): /etc/pcp/pmmgr: system(
pmie: cannot open log "/var/log/
Log for pmie on nturner-desktop started Thu Jan 23 13:49:15 2014
pmie: cannot find realpath for log /var/log/
Log finished Thu Jan 23 13:49:15 2014
/bin/mkdir: cannot create directory '/var/log/
pmieconf: error - cannot write file /var/log/
[Thu Jan 23 13:49:15] pmmgr(12079/2211): /etc/pcp/pmmgr: system(
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: pcp 3.8.10ubuntu2
ProcVersionSign
Uname: Linux 3.13.0-5-generic x86_64
NonfreeKernelMo
ApportVersion: 2.13.1-0ubuntu1
Architecture: amd64
Date: Thu Jan 23 13:45:46 2014
EcryptfsInUse: Yes
ExecutablePath: /usr/lib/
ProcEnviron:
TERM=linux
PATH=(custom, no user)
SourcePackage: pcp
UpgradeStatus: Upgraded to trusty on 2014-01-23 (0 days ago)
The problem is that the /var/log/pcp/pmmgr directory is not created with proper permissions.
Run
# chown pcp:pcp /var/log/pcp/pmmgr
and it will start working.