Zombie process in HP-UX
KSGJan 9 2013 — edited Jan 10 2013Hi,
I can see many Zobmie process in my server, I tried to kill using "kill -9" but it's not working.
73 processes: 334 sleeping, 20 running, 219 zombies
Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 1.23 20.7% 0.0% 6.2% 73.1% 0.0% 0.0% 0.0% 0.0%
1 1.26 87.5% 0.0% 2.2% 10.4% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 1.24 54.1% 0.0% 4.2% 41.7% 0.0% 0.0% 0.0% 0.0%
Memory: 7472208K (4396764K) real, 10601924K (6056332K) virtual, 12538532K free Page# 1/17
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
0 ? 37 root 152 20 14432K 14432K run 58:54 0.96 0.96 vxfsd
1 ? 5103 oracle 183 20 32K 32K zomb 0:00 0.83 0.83 perl
1 ? 12908 oracle 182 20 32K 32K zomb 0:00 0.83 0.83 perl
1 ? 19125 oracle 182 20 32K 32K zomb 0:00 0.83 0.83 perl
1 ? 23338 oracle 183 20 32K 32K zomb 0:00 0.83 0.83 perl
1 ? 4207 oracle 183 20 32K 32K zomb 0:00 0.78 0.78 perl
1 ? 5097 oracle 182 20 32K 32K zomb 0:00 0.78 0.78 perl
1 ? 12933 oracle 182 20 32K 32K zomb 0:00 0.78 0.78 perl
1 ? 19094 oracle 182 20 32K 32K zomb 0:00 0.73 0.73 perl
0 ? 19281 oracle 182 20 32K 32K zomb 0:00 0.73 0.73 perl
0 ? 23333 oracle 182 20 32K 32K zomb 0:00 0.73 0.73 perl
0 ? 23341 oracle 182 20 32K 32K zomb 0:00 0.73 0.73 perl
0 ? 29699 oracle 182 20 32K 32K zomb 0:00 0.68 0.68 perl
1 ? 12077 oracle 182 20 32K 32K zomb 0:00 0.64 0.63 perl
Solution: Find the PPID and kill it.
ps -el | grep 'Z'
find the PPID of the Zombie and kill. Rest of all the zombie got killed.
Thanks
KSG
Solution found.