From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,c014e74a6fbd468 X-Google-Attributes: gidfa528,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Subject: Re: help..weird envmond issue From: Stefaan A Eeckels Date: Sat, 1 Nov 2008 08:27:36 +0100 Message-ID: <20081101082736.58b56633.hoendech@ecc.lu> References: NNTP-Posting-Host: 83.99.52.145 Organization: E.C.C. sa - Computer Consultants Path: g2news2.google.com!news2.google.com!news.glorb.com!news2!newsfeed-0.progon.net!progon.net!newsfeed00.sul.t-online.de!t-online.de!club-internet.fr!feedme-small.clubint.net!npeer.de.kpn-eurorings.net!npeer-ng1.kpn.DE!news.vo.lu!news.ecc.lu!news Newsgroups: comp.unix.tru64 X-Trace: vo.lu 1225526439 83.99.52.145 (1 Nov 2008 09:00:39 0200) X-Newsreader: Sylpheed 2.5.0 (GTK+ 2.10.6; sparc-sun-solaris2.11) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Xref: g2news2.google.com comp.unix.tru64:267 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 . 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