pcp
[Top] [All Lists]

Re: Funny pmie behavior

To: <markgw@xxxxxxx>
Subject: Re: Funny pmie behavior
From: "David Douthitt" <DDouthitt@xxxxxxxxx>
Date: Thu, 19 Dec 2002 13:52:16 -0600
Cc: <pcp@xxxxxxxxxxx>
Sender: pcp-bounce@xxxxxxxxxxx
Thanks.  Some more notes:
 
The number of zombies at start up (4) correlates
with the number of results returned immediately
(4).  All results use the "shell" command (after a
-> ).
 
Running from the command line makes no difference, and neither does removing the -b option.
 
No errors are logged in the logs (/var/log/pcp/pmie/host/pmie.log).
 
All results run the same shell script, which
completes and which does not appear to be the
zombie process (different pid).
 
The original script ran /bin/ksh using the magic
number '#!' ; switching to bash didn't make any
difference, nor did removing the magic comment
entirely.
 
Leaving the system running overnight resulted in
350+ zombies.  Doing a pkill pmie killed all
processes and took the zombies away instantly.
 
The shell script writes a formatted string to a
pipe - in order to send a passive check to Nagios (formerly Netsaint).
 
David Douthitt
CUNA & Affiliates
UNIX Systems Administrator
LPI Level 1, Linux+
ddouthitt@xxxxxxxxx
 
>>> Mark Goodwin <markgw@xxxxxxx> 12/18/02 7:50PM >>>
On Wed, 18 Dec 2002, David Douthitt wrote:

> pmie (used with pmie_check) is generating a lot of zombies.
...

Thanks David, I've posted an (SGI internal) bug about this. In
the mean time, if anyone has a fix please send it to the list.

Thanks
-- Mark
<Prev in Thread] Current Thread [Next in Thread>