Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Stefaan A Eeckels <hoendech@ecc.lu>
Subject: Re: help..weird envmond issue
Date: Sat, 1 Nov 2008 08:27:36 +0100	[thread overview]
Message-ID: <20081101082736.58b56633.hoendech@ecc.lu> (raw)
In-Reply-To: f086fd52-36a5-488f-b98c-be158a96d64e@2g2000hsn.googlegroups.com

On Tue, 21 Oct 2008 06:49:44 -0700 (PDT)
sparkyj101@gmail.com wrote:

> Have a weird issue on an old DS20 running Compaq Tru64 5.1 (Rev. 732)
> 
> when I do a ps -ef i have a process listed as <defunct>.  Whatever
> this is, a kill -9 on the pid doesn't kill it.  It lists it a child
> of /usr/sbin/envmond -ui cli.  Noticing that, I did a /usr/sbin/
> envconfig stop/start.  When envconfig is stopped, the envmond and the
> defunct process are gone but when I restart envconfig, the defunct
> process returns.

Not weird at all, but normal Unix behaviour. When a process (like
envmond) "fork()"s a child process but does not issue a "wait()" when
it terminates, the child process becomes a zombie (which in "ps" is
shown as "defunct"). Zombie processes cannot be killed, as you have
observed. When the parent of a zombie terminates, it non-waited-for
children are inherited by the "init" process (the root of all
processes) which reaps the zombies. 

In other words, envmond has a bug.

-- 
Stefaan A Eeckels
-- 
Isn't it amazing how a large number of evil morons can give the
appearance of being a single evil genius?          --Mel Rimmer


      reply	other threads:[~2008-11-01  7:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-21 13:49 help..weird envmond issue sparkyj101
2008-11-01  7:27 ` Stefaan A Eeckels [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