From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,898aed2f8680f611 X-Google-Attributes: gidfee84,public From: Robert Moniot Subject: Re: clearing out zombie processes Date: 1997/08/04 Message-ID: #1/1 X-Deja-AN: 262357967 References: <33E184D9.55D5@vegauk.co.uk> Organization: Fordham University/FCLC Newsgroups: comp.unix.osf.osf1 Alan Hughes 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