Subject: Re: Zombie processes
To: Nigel Reed <nigel@nelgin.nu>
From: Antti Kantee <pooka@iki.fi>
List: netbsd-help
Date: 04/17/2001 21:57:43
Actually, if you kill a process's parent, it should be inherited by
init, which will wait() for the process once it dies and make the zombie
``go away''.
You have some buggy programs which don't wait() for their children. Fix
them, or as a quick solution, kill the parent.
On Tue Apr 17 2001 at 13:48:44 -0500, Nigel Reed wrote:
> Reboot.
>
> That's why they're zombies, you can't kill them. Make sure you don't
> kill a parent without killing its child first.
>
> Regards Nigel
>
> On Tue, Apr 17, 2001 at 11:13:53AM -0500, Douglas Egan wrote:
> > I find that after some time (1 or 2 days) I get a couple of
> > 'zombie' processes. How do you kill these and remove them from the
> > process list 'ps -aux'? I tried 'kill -9 'pid'' but it just says
> > 'process not found'.
> >
> > Not sure where they are coming from - possibly ssh or netscape.
> >
> > thanks,
> >
> > Doug Egan
> >
>
> --
--
Antti Kantee <pooka@iki.fi> v Of course he runs NetBSD
http://www.iki.fi/pooka/ i http://www.NetBSD.org/