Messages in this thread | | | From | Gene Heskett <> | Subject | Re: is killing zombies possible w/o a reboot? | Date | Wed, 3 Nov 2004 13:53:39 -0500 |
| |
On Wednesday 03 November 2004 12:44, DervishD wrote: > Hi Gene :) > > * Gene Heskett <gene.heskett@verizon.net> dixit: >> > Or write a little program that just 'wait()'s for the >> > specified PID's. That is perfectly portable IMHO. But I must >> > admit that the preferred way should be killing the parent. >> > 'init' will reap the children after that. >> >> But what if there is no parent, since the system has already >> disposed of it? > > Then the children are reparented to 'init' and 'init' gets rid > of them. That's the way UNIX behaves.
Unforch, I've *never* had it work that way. Any dead process I've ever had while running linux has only been disposable by a reboot.
> Raúl Núñez de Arenas Coronado
-- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) 99.28% setiathome rank, not too shabby for a WV hillbilly Yahoo.com attorneys please note, additions to this message by Gene Heskett are: Copyright 2004 by Maurice Eugene Heskett, all rights reserved. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |