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: Alan Hughes Subject: Re: clearing out zombie processes Date: 1997/08/01 Message-ID: <33E184D9.55D5@vegauk.co.uk>#1/1 X-Deja-AN: 261157005 X-NNTP-Posting-Host: dcollins.vegauk.co.uk [194.217.20.95] References: Organization: VEGA Group PLC Reply-To: alan.hughes@vegauk.co.uk Newsgroups: comp.unix.osf.osf1 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). This is an inherent feature of Unix in general (*not* just DU). It shows that someone has not designed an application well! Alan Hughes Consultant VEGA Group PLC