Re: <defunct>: too many from pipe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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.




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux