Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: jm@moonbase.uvo.dec.com (John McNulty)
Subject: Re: zombie processes on osf/1 v3.0
Date: 20 Sep 1994 22:32:26 GMT	[thread overview]
Message-ID: <35nntq$nik@decuk.uvo.dec.com> (raw)
In-Reply-To: 357l4a$99s@coranto.ucs.mun.ca



>>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	      



      reply	other threads:[~1994-09-20 22:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-09-09 14:06 zombie processes on osf/1 v3.0 Ramin Pasha
1994-09-09 19:01 ` Dan Pop
1994-09-14 20:06   ` Paul David Fardy
1994-09-20 22:32     ` John McNulty [this message]
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