I am seeing the same thing.  It goes away if I use the subprocess module.  
There must be some problem in the way that popen2 is invoked that is leaving a 
defunct process.

Brad

>>> On 1/17/2008 at 7:37 PM, in message
<[EMAIL PROTECTED]>, "Bernard Li"
<[EMAIL PROTECTED]> wrote:
> Hi Brad:
> 
> I'm not sure if my patch caused this, or this is a standard behaviour
> of tcpconn:
> 
> 17825 ?        Ssl    0:00 /usr/sbin/gmond
> 17864 ?        Z      0:00  \_ [netstat] <defunct>
> 
> Can you check whether you have the same thing when you startup your gmond?
> 
> Thanks,
> 
> Bernard
> 
> On 1/16/08, Brad Nicholes <[EMAIL PROTECTED]> wrote:
>> >>> On 1/16/2008 at 11:44 AM, in message
>> <[EMAIL PROTECTED]>, "Bernard Li"
>> <[EMAIL PROTECTED]> wrote:
>> > Hi Brad:
>> >
>> > On 1/15/08, Brad Nicholes <[EMAIL PROTECTED]> wrote:
>> >
>> >>   works for me too.  Check it in :)
>> >
>> > Done -- BTW, when I try to run the script in the command prompt (i.e.
>> > python tcpconn.py), it doesn't exit even though I hit ctrl-c -- bug or
>> > feature?
>> >
>>
>> Not sure why it wouldn't exit on ctrl-c but the test portion of the script 
>> by 
> design, goes into an infinite loop.  I guess the while loop could check for 
> an exit command, but then it is only for testing purposes anyway so whatever 
> the mechanism is to kill the script is probably OK.
>>
>> Brad
>>
>>




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ganglia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to