From: "Robert L. McMillin" <rlm () syseca-us ! com>
To: tru64-unix-managers
Subject: Removing defunct (zombie) processes
Date: Thu, 05 Jun 1997 16:23:52 +0000 [thread overview]
Message-ID: <96078613510256.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~1997-06-05 16:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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