From: Robert Moniot <moniot@erdos.dsm.fordham.edu>
Subject: Re: clearing out zombie processes
Date: 1997/08/04 [thread overview]
Message-ID: <ufiuxlsvh8.fsf@erdos.dsm.fordham.edu> (raw)
In-Reply-To: 33E184D9.55D5@vegauk.co.uk
Alan Hughes <alan.hughes@vegauk.co.uk> writes:
>
> Robert Moniot wrote:
> >
> > Lately some of our users have been generating zombie processes. These
> > are processes that ps calls "defunct", i.e. a process that has exited
> > but whose parent process has not waited for it. The parent process is
> > either 1 (init) or another defunct process whose parent is 1. Trying
> > to kill these defunct processes gives the message "no such process",
> > but they continue to tie up tty's. (These particular ones are on LAT
> > tty's, of which we have defined a limited number.) Is there any way
> > to clear these zombies out of the process table other than rebooting?
> >
> > We are running OSF1 V4.0 on an AlphaStation 1000.
>
> Terminate the parent processes; once they are gone the zombies will be
> cleaned up by the init process (PID = 0).
>
Thanks, but this doesn't work. The zombies have init (PID=1, not 0)
as their parent process. Is there a way to kill init without
rebooting? I have tried killing init with the -1 signal but this
doesn't clear out the zombies. What happens if I kill it with -9?
Can it be killed and restarted without causing all kinds of havoc?
> This is an inherent feature of Unix in general (*not* just DU). It shows
> that someone has not designed an application well!
>
I guess that means Digital hasn't designed getty well!
--
Bob Moniot
Fordham University email: moniot@dsm.fordham.edu
Fordham College at Lincoln Center URL: http://www.dsm.fordham.edu/~moniot/
New York, NY 10023 phone: (212) 636-6311
next prev parent reply other threads:[~1997-08-04 4:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-07-31 4:00 clearing out zombie processes Robert Moniot
1997-08-01 4:00 ` Alan Hughes
1997-08-04 4:00 ` Robert Moniot [this message]
[not found] ` <33E78839.59E2@zk3.dec.com>
1997-08-05 4:00 ` Mark Fisher
1997-08-08 4:00 ` Robert Moniot
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