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
<2008>
2009
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
<2008>
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|