(OS: Debian variant.)
Having a process with zombie-status. The
PPid belonged to a
The contents of
/cmdline is empty,
/status is shown below.
Could this be a bug in
gvim? From the Wikipedia entry on Zombie process I read that a program can voluntarily reject to call
wait but this was for a
gvim session that had been idle for quite some time. I closed the
gvim process – but the zombie still lurks around. Could this indicate a OS bug?
Again from Wikipedia:
If the parent program is no longer running, zombie processes typically indicate a bug in the operating system.
And how often does
init reap forsaken processes? It has been at least 60
gvim's demise but it still there.
On the other hand could it be
sh and not
/status file states
SigQ of zero.
$ less /proc/30339/status Name : sh State : Z (zombie) Tgid : 30339 Pid : 30339 PPid : 29673 TracerPid: 0 Uid : 1000 1000 1000 1000 Gid : 1000 1000 1000 1000 FDSize : 0 Groups : 4 7 20 24 27 29 30 46 107 124 127 1000 Threads : 1 SigQ : 0/30658 SigPnd : 0000000000000000 ShdPnd : 0000000000000000 SigBlk : 0000000000000000 SigIgn : 0000000000003001 SigCgt : 0000000000010002 CapInh : 0000000000000000 CapPrm : 0000000000000000 CapEff : 0000000000000000 CapBnd : ffffffffffffffff Cpus_allowed : 3 Cpus_allowed_list: 0-1 Mems_allowed : 1 Mems_allowed_list: 0 voluntary_ctxt_switches : 2 nonvoluntary_ctxt_switches: 3
Not that it destroys my beauty sleep, but wondering …