<defunct>: too many from pipe
Mike -- EMAIL IGNORED
m_d_berger_1900 at yahoo.com
Mon Aug 20 22:08:09 UTC 2007
On Mon, 20 Aug 2007 20:34:55 +0100, Steve Searle wrote:
> Around 08:08pm on Monday, August 20, 2007 (UK time), Mike -- EMAIL
> IGNORED scrawled:
>
>> Thanks to Andy Green and Alan Cox; I added the line to my pipe class
>> destructor and my problem is solved. While this is not a problem, I
>> note that the following:
>>
>> root at mbrc32 MdbUtil]# ps -ef | grep defunct | grep -v grep root
>> 7808 1898 0 14:27 ? 00:00:00 [sh] <defunct> root 7811
>> 1898 0 14:27 ? 00:00:00 [sh] <defunct>
>>
>> persists with the same pids through several executions of the command
>> that should kill all zombies.
>
> What command? I understood that you couldn't kill zombies (without
> rebooting) - that's why they are so named. But I'm no expert.
>
> Steve
>
[...]
waitpid(-1, &n, WNOHANG);
Look back on other posts on this thread.
Mike.
More information about the users
mailing list