tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Removing defunct (zombie) processes
@ 1997-06-05 16:23 Robert L. McMillin
  0 siblings, 0 replies; only message in thread
From: Robert L. McMillin @ 1997-06-05 16:23 UTC (permalink / raw)
  To: tru64-unix-managers


Since I see that more than one person has asked this question, I think
my response to Francesco Zerra <zerra@cmns.mnegri.it> bears repeating:
the important thing is to kill AND restart the parent process if it's
spawning intolerable numbers of zombie children.  The example given by
Francesco...

>@@ [root] # ps -ef | grep  defunct
>@@ www      22461 23163  0.0 -        ??           0:00.00 <defunct>
>@@ root     17073 17062  0.0 13:35:58 lat/624      0:00.01 grep defunct
>@@ [root] # kill -9 23163
>@@ [root] # ps -ef | grep defunct
>@@ root     16176 17062  0.0 13:36:21 lat/624      0:00.01 grep defunct

... doesn't show that he'd found the parent that created the zombies,
nor that he'd restarted it, only that he'd killed it.  For all he knows,
he may have clobbered a vital system service -- say, sendmail.  This
would be Bad.

Now it's my turn to pose a question to the audience: other than process
slots, what system resources do zombies absorb?  Ignoring the worst-case
scenario where zombies become so numerous as to cause fork() to fail, it
really worth restarting their ill-mannered parents to get said zombies
out of the process table?

--=20
Robert L. McMillin | Not the voice of Syseca, Inc. | rlm@syseca-us.com
	   Personal: rlm@helen.surfcty.com |=A0rlm@netcom.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-06-05 16:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-06-05 16:23 Removing defunct (zombie) processes Robert L. McMillin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox