Re: [ILUG] Children will not die, zombies are roaming my system

From: Justin Mason (jm at domain jmason.org)
Date: Thu 27 Jul 2000 - 13:51:22 IST


John_White at domain dell.com said:

> Working on a bit of code here to spawn a separate server for each net
> connection. My problem is that when the child processes finish (and exit())
> they are still left lying about the system as zombie processes. The only way
> to get rid of them is to kill the parent. I can't rightly see what the
> problem is but I'm sure it's very simple. Anybody have any suggestions ?

Call wait() or waitpid() now and again from the parent.

--j.



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:07:00 GMT