Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 1998 00:00:48 +0800 (WST)
From:      Dean Hollister <dean@odyssey.apana.org.au>
To:        Dan Nelson <dnelson@emsphone.com>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Killing zombie processes
Message-ID:  <Pine.BSF.3.96.980526235818.18124A-100000@odyssey.apana.org.au>
In-Reply-To: <19980526104900.A1032@emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 26 May 1998, Dan Nelson wrote:

> When you say "killing the parent doesn't work", do you mean that
> killing the parent did NOT remove the child's pid, or you couldn't even
> kill the parent at all?  What does a 'ps axl' print for the processes?

I could not kill the parent at all.

bash$ ps -axl | grep 4994

   10  4994  4803   0  -6  0     0    0 -      Z+    v0-   0:00.00  (tail)

And also:

bash$ ps -t /dev/ttyv0

  PID  TT  STAT      TIME COMMAND
 4803  v0- IEs+   0:00.00  (sh)
 4994  v0- Z+     0:00.00  (tail)

See? Here, the sh process will not exit, because of the zombie. It is
trying to exit, but can't.

Regards,

d.

+-------------------------------------------------------+
| Dean Hollister,           | dean@odyssey.apana.org.au |  
| Perth, Western Australia. | deanh@iinet.net.au        |
+-------------------------------------------------------+



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980526235818.18124A-100000>