Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* zombie processes on osf/1 v3.0
@ 1994-09-09 14:06 Ramin Pasha
  1994-09-09 19:01 ` Dan Pop
  0 siblings, 1 reply; 4+ messages in thread
From: Ramin Pasha @ 1994-09-09 14:06 UTC (permalink / raw)



Hi!

  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?

                Thanks for any pointers,

                        Keith (for Ramin)
                        niemankj@sluvca.slu.edu
                        314-658-2559

-- 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: zombie processes on osf/1 v3.0
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Pop @ 1994-09-09 19:01 UTC (permalink / raw)


In <34pq60$lp3@usenet.INS.CWRU.Edu> bu134@cleveland.Freenet.Edu (Ramin Pasha) writes:


>Hi!
>
>  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?

Of course you can't kill a dead process :-)

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.

Dan
--
Dan Pop 
CERN, CN Division
Email: danpop@cernapo.cern.ch
Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: zombie processes on osf/1 v3.0
  1994-09-09 19:01 ` Dan Pop
@ 1994-09-14 20:06   ` Paul David Fardy
  1994-09-20 22:32     ` John McNulty
  0 siblings, 1 reply; 4+ messages in thread
From: Paul David Fardy @ 1994-09-14 20:06 UTC (permalink / raw)



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.

Don't forget the #1 rule:
	Do not kill process number 1!

If you don't know why, you are really really curious, and you are resilient
to fecal missiles, try
	kill -KILL 1
and see what happens. :-)

	Paul Fardy

"He dies.  She dies.  Everybody dies."  -- Heavy Metal
--
Paul David Fardy                     Memorial University of Newfoundland
Systems Programmer                   Elizabeth Avenue
Technical Support Group              St. John's, NF  A1C 5S7
Computing and Communications         CANADA


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: zombie processes on osf/1 v3.0
  1994-09-14 20:06   ` Paul David Fardy
@ 1994-09-20 22:32     ` John McNulty
  0 siblings, 0 replies; 4+ messages in thread
From: John McNulty @ 1994-09-20 22:32 UTC (permalink / raw)




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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1994-09-20 22:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox