pcp
[Top] [All Lists]

Re: something not right in pmmgr land?

To: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Subject: Re: something not right in pmmgr land?
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Mon, 07 Apr 2014 08:49:51 +1000
Cc: PCP Mailing List <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <y0m1txdamep.fsf@xxxxxxxx>
References: <533DEBB9.7010608@xxxxxxxxxxxxxxxx> <y0m1txdamep.fsf@xxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
On 04/04/14 12:55, Frank Ch. Eigler wrote:
> 
> kenj wrote:
> 
>> [...]
>>   pmlogger: bozo: /var/log/pcp/pmmgr/bozo/archive-20140403.224137
>>             primary logger: bozo/20140404.09.41
>>       pmie: bozo: /var/log/pcp/pmmgr/bozo/pmie.log
>>             bozo: /var/log/pcp/pmmgr/bozo/pmie.log
>>             bozo: /var/log/pcp/pmmgr/bozo/pmie.log
>> [...and a bunch more...]
>> kenj@bozo:~/src/pcp/qa$ ps -ef | grep '[p]mie.*pmmgr' | wc -l
>> 13
>> It is not a fluke ... I've seen it on another Ubuntu system.
> 
> Please arrange to turn on pmmgr verbosity (pmmgr -v) and see if those
> pmie processes were sent a SIGTERM (pmmgr_daemon dtor) like they
> should've been.  Anything interesting in the pmie.log or pmmgr.log
> file(s)?
> 
> - FChE
> 
Attached is the pmmgr.log with -v enabled.

Here is the evidence of the additional pmie processes ...

kenj@bozo:~/src/pcp/qa$ pcp
Performance Co-Pilot configuration on bozo:

 platform: Linux bozo 3.11.0-19-generic #33-Ubuntu SMP Tue Mar 11 18:48:34 UTC 
2014 x86_64
 hardware: 6 cpus, 3 disks, 1 node, 7985MB RAM
 timezone: EST-10
     pmcd: Version 3.9.2-1, 9 agents, 6 clients
     pmda: pmcd proc xfs sample sampledso linux mmv jbd2 simple
 pmlogger: bozo: /var/log/pcp/pmmgr/bozo/archive-20140406.223755
           primary logger: bozo/20140407.08.36
     pmie: bozo: /var/log/pcp/pmmgr/bozo/pmie.log
           bozo: /var/log/pcp/pmmgr/bozo/pmie.log
           bozo: /var/log/pcp/pmmgr/bozo/pmie.log
           bozo: /var/log/pcp/pmmgr/bozo/pmie.log
kenj@bozo:~/src/pcp/qa$ ps -ef | grep '[p]mie.*pmmgr'
pcp       7698 29916  0 08:21 pts/1    00:00:00 /usr/bin/pmie -c 
/var/log/pcp/pmmgr/bozo/config.pmie -h local: -f -l 
/var/log/pcp/pmmgr/bozo/pmie.log
pcp      14241 14776  0 08:37 pts/1    00:00:00 sh -c /usr/bin/pmie  -c 
/var/log/pcp/pmmgr/bozo/config.pmie -h local: -f -l 
/var/log/pcp/pmmgr/bozo/pmie.log
pcp      14243 14241  0 08:37 pts/1    00:00:00 /usr/bin/pmie -c 
/var/log/pcp/pmmgr/bozo/config.pmie -h local: -f -l 
/var/log/pcp/pmmgr/bozo/pmie.log
pcp      14794 29916  0 07:46 pts/1    00:00:00 /usr/bin/pmie -c 
/var/log/pcp/pmmgr/bozo/config.pmie -h local: -f -l 
/var/log/pcp/pmmgr/bozo/pmie.log
pcp      32065 29916  0 08:20 pts/1    00:00:00 /usr/bin/pmie -c 
/var/log/pcp/pmmgr/bozo/config.pmie -h local: -f -l 
/var/log/pcp/pmmgr/bozo/pmie.log

The word "sig" (ignoring case) does not appear to be in the pmmgr.log file.

pid 29916 is "init".  the others seem to be the real deal ...

kenj@bozo:~/src/pcp/qa$ pstree 14776
pmmgrâââshâââpmie
      ââshâââpmlogger

Ledt me know if you need more, or there are other experiments I can run.  This 
is very easy to reproduce.


Attachment: pmmgr.log
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>