From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,287bc4431169d56e X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-09-21 19:12:35 PST Path: bga.com!news.sprintlink.net!uunet!decwrl!pa.dec.com!decuk.uvo.dec.com!moonbase.uvo.dec.com!jm From: jm@moonbase.uvo.dec.com (John McNulty) Newsgroups: comp.unix.osf.osf1 Subject: Re: zombie processes on osf/1 v3.0 Date: 20 Sep 1994 22:32:26 GMT Organization: Digital Equipment Co. Ltd Distribution: world Message-ID: <35nntq$nik@decuk.uvo.dec.com> References: <34pq60$lp3@usenet.INS.CWRU.Edu> <357l4a$99s@coranto.ucs.mun.ca> Reply-To: jm@moonbase.uvo.dec.com (John McNulty) NNTP-Posting-Host: moonbase.uvo.dec.com X-Newsreader: mxrn 6.18-16 >>In <34pq60$lp3@usenet.INS.CWRU.Edu> bu134@cleveland.Freenet.Edu (Ramin Pasha) >>writes >> We just upgraded to version 3.0 and now have all these defunct >>processes floating around our system that we cannot kill with the -9 >>option. DEC has looked at it and thinks it has something to do with >>the forking process. Has anyone else seen this behavior since upgrading? >danpop@cernapo.cern.ch (Dan Pop) writes: >Use "ps -ef | grep defunct" and have a look at the third column of the >output, which contains the PID's of the parent processes. Terminate or >kill the parent processes and the zombies will go away. There is no >other way to get rid of them if you don't have access to the source >code of the programs generating the zombies. This won't work. The PPID of all the defunct processes will be 1. A patch for this problem is currently under test, and will be generally available shortly. If you're suffering from this problem then run this script from cron about once an hour. #!/bin/ksh ps -je | while read -u0 data do set $data case $7 in T) kill -CONT $2 ;; *) ;; esac done This is only a work around, but you won't have to reboot the system every day to get rid of them. Then contact your local CSC, quote IPMT case number UVO102126 and put your name down for the patch. -- John McNulty Digital Equipment Corporation CSC/UK Unix Support Group