Operating System - HP-UX
1833883 Members
2082 Online
110063 Solutions
New Discussion

needed Information about Zombie processes

 
SOLVED
Go to solution
Yashodhan Deo
Occasional Advisor

needed Information about Zombie processes

when I run the top command I see 1 Zombie processes. What are these processes. How do they get created. Are they harmful to the server. Even after rebooting the server the proess remains. I tried using the "ps â ef|grep defunct" command to get more information but I get the following output.

root 22534 2269 0 11:25:37 ? 0:00
root 22559 22536 0 11:26:27 pts/ta 0:00 grep defunct

I am very new to sys admin in HP-UX and also I am using telnet from a system to do my job.
Can any one help as to how can I trace which application is creating the Zomboie process... i.e what is the root cause of Zombie proces
5 REPLIES 5
Michael Tully
Honored Contributor

Re: needed Information about Zombie processes

Is is sometimes a little difficult to trace a zombie's origin unless you take regular snapshots of the process table.

Have a look at this posting for more explanation on zombies.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=105337
Anyone for a Mutiny ?
Yashodhan Deo
Occasional Advisor

Re: needed Information about Zombie processes

Hi Michael

Thank u for ur guidance. Can you pls go thro the attached file, basically output of the top, ps command, and try if u can throw more light on the issue. Aslo can we try and findout why even after rebooting the zombie process still exists. Will I have to escalate the problem to product development team.

Thanks in advance.

Yashodhan Deo.
Manish Srivastava
Trusted Contributor

Re: needed Information about Zombie processes

Hi,

After reboot the zombie should go away. If it does not then this is a problem with init(1M). Inint has the responsibility to reap all the zombies.

Zombie itself is not a problem but if you are generating zombies then it is possible that you run out of proc entries.

manish
Franky_1
Respected Contributor
Solution

Re: needed Information about Zombie processes

Hi,

a process that has exited and has a parent, but has not yet been waited for by the parent, is marked .
Processes that have died but haven't been removed from the process table are zombies.
If you use ps -flp you'll see the "Z" entry under the "S" Header which will indicate the zombie process.
Don't worry be happy
Yashodhan Deo
Occasional Advisor

Re: needed Information about Zombie processes

Thanks guys for guiding me. It added a lot to my knowledge.

Since I am new to the HP-UX administration I have escalated this to my higher ups. Michael I should have given you more points. Consider it 9.

Thank U all.