Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* help..weird envmond issue
@ 2008-10-21 13:49 sparkyj101
  2008-11-01  7:27 ` Stefaan A Eeckels
  0 siblings, 1 reply; 2+ messages in thread
From: sparkyj101 @ 2008-10-21 13:49 UTC (permalink / raw)


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.

Any help would be appreciated and if you need further information,
please let me know.

Thanks,
James


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

* Re: help..weird envmond issue
  2008-10-21 13:49 help..weird envmond issue sparkyj101
@ 2008-11-01  7:27 ` Stefaan A Eeckels
  0 siblings, 0 replies; 2+ messages in thread
From: Stefaan A Eeckels @ 2008-11-01  7:27 UTC (permalink / raw)


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


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

end of thread, other threads:[~2008-11-01  7:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-21 13:49 help..weird envmond issue sparkyj101
2008-11-01  7:27 ` Stefaan A Eeckels

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