Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Mark Conway Wirt <mark@intrepid.net>
To: axp-list@redhat.com
Subject: Re: fork() and 2.2.1
Date: Tue, 16 Feb 1999 10:59:14 -0500	[thread overview]
Message-ID: <19990216105914.G15171@intrepid.net> (raw)
In-Reply-To: <Pine.LNX.4.04.9902152352370.13981-100000@notfoo.res.cmu.edu>; from Ross A. Knepper on Mon, Feb 15, 1999 at 11:58:40PM -0500

On Mon, Feb 15, 1999 at 11:58:40PM -0500, Ross A. Knepper wrote:
> 
> a zombie is a process which has exited, but whose exit status has not yet
> been collected.  in general these only occur if the parent process is
> still alive, since otherwise init (pid 1) inherits the process and wait()s
> on it to allow the zombie to go away.  so a zombie occurs when the parent
> is still alive but for some reason is not wait()ing to collect the exit
> status of the deceased child.

Often, you can do a 

        ps aufx

to find the parent and kill it (assuming that it's no init).  More
often than not, this will get rid of a zombie.

--Mark


  reply	other threads:[~1999-02-16 16:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.04.9902152243060.11190-100000@toshiba-53-90.nycap.rr.com>
1999-02-16  4:47 ` fork() and 2.2.1 Dan Morrill
1999-02-16  4:58   ` Ross A. Knepper
1999-02-16 15:59     ` Mark Conway Wirt [this message]
1999-02-18  6:21   ` flush cache? Bruce Ediger
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox