EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Creating Zombies with epicsThreadExitMain
From: Michael Abbott <[email protected]>
To: "Thompson, David H." <[email protected]>
Cc: [email protected]
Date: Mon, 12 May 2008 12:58:24 +0000 (GMT)
On Mon, 12 May 2008, Thompson, David H. wrote:
> It is not a zombe.  If a child process dies and the parent never calls 
> wait() you get a zombe.  If the parent dies then the child's parent 
> becomes init, which calls wait all the time. So anything with parent 
> init is still running, probably waiting for some I/O.

Looks awfully like a zombie to me:

$ ps ax
...
31921 ?        Zl     0:00 [softIoc] <defunct>
$ cat status
Name:   softIoc
State:  Z (zombie)
SleepAVG:       68%
Tgid:   31921
Pid:    31921
PPid:   1
TracerPid:      0
Uid:    1015    1015    1015    1015
Gid:    1015    1015    1015    1015
FDSize: 0
Groups: 500 506 1015
Threads:        2
SigPnd: 0000000000000000
ShdPnd: 0000000000000001
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000180000000
CapInh: 0000000000000000
CapPrm: 0000000000000000
CapEff: 0000000000000000
$

Have to say I'm rather surprised to see the /proc entry, though.

Replies:
RE: Creating Zombies with epicsThreadExitMain Michael Abbott
References:
Creating Zombies with epicsThreadExitMain Michael Abbott
RE: Creating Zombies with epicsThreadExitMain Thompson, David H.

Navigate by Date:
Prev: RE: Creating Zombies with epicsThreadExitMain Thompson, David H.
Next: RE: Creating Zombies with epicsThreadExitMain Michael Abbott
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Creating Zombies with epicsThreadExitMain Thompson, David H.
Next: RE: Creating Zombies with epicsThreadExitMain Michael Abbott
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·