20 Oct
2006
20 Oct
'06
21:11
On Fri, 2006-10-20 at 13:47 -0700, Mike Noble wrote:
Under Unix (Solaris) and some other Linux versions I have worked with offer the -f or -F flag to kill which would remove zombie processes. OK it worked better in Solaris, Linux was always kinda a crap shoot, which is probably why they removed the flag (if Suse ever had it).
It used to be that you could do "kill -CHLD 1", but now that I actually try it, I see that's not allowed anymore, it's blocked as "not allowed". Not sure why. When init does receive SIGGHLD it will do a waitpid(-1, ... which will reap one of its terminated children.