- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Killing Zombie process
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2004 06:28 PM
тАО06-17-2004 06:28 PM
Killing Zombie process
Can anybody tell me how to kill Zombie process??
Thanks and Regards,
Amit Manna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2004 06:39 PM
тАО06-17-2004 06:39 PM
Re: Killing Zombie process
To my knowledge there is no way to kill a zombie process.
They can be cleaned up only on the next reboot.
check the white paper at /usr/share/doc/proc_mgt.txt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2004 06:40 PM
тАО06-17-2004 06:40 PM
Re: Killing Zombie process
Check this doc for more info.
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063236571
Document description: Sys Adm: killing zombie/defunct processes
Document id: S1100000464
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2004 06:41 PM
тАО06-17-2004 06:41 PM
Re: Killing Zombie process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2004 07:16 PM
тАО06-17-2004 07:16 PM
Re: Killing Zombie process
Due to bugs in a program somtimes the parent does'nt care any more for it's child processes and does not accept input from them any more so the child becomes a zombie and keeps waiting for that moment of attention.
When you remove the parent process with the kill -TERM option , not -9 this makes it abandon everything, or stop the main application, sometimes the program starts interacting with it's childs again because it wants to remove them.
And there you are, the zombie get's its attention and it stops.
But most of the time the only thing is rebooting the system because the parent process is long gone.
Kl@@s
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2004 07:31 PM
тАО06-17-2004 07:31 PM
Re: Killing Zombie process
A zombie takes up one entry in a process table. That's it, it does not take up any other system resources. Ok, if you have hundreds of them then that might become a problem but then you need to look at the application creating them.
As mentioned above, a zombie is a process that has finished but it's parent has not done a "wait()" on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2004 08:27 PM
тАО06-17-2004 08:27 PM
Re: Killing Zombie process
So, in general there's no need to reboot. The parent needs to call wait().
If the parent hangs, then you could be able to get rid of the zombie e.g. by killing it. If the parent cannot be killed, then this is another problem. If init (PID 1) is already the parent of the zumbie, then I personally would consider this as a bug (unless there are hw problems or similar).
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2004 09:59 PM
тАО06-17-2004 09:59 PM
Re: Killing Zombie process
With Solaris 9, "preap [-F] pid" : force a defunct process to be reaped by its parent.
Cheers
Nicolas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2004 02:22 AM
тАО06-18-2004 02:22 AM
Re: Killing Zombie process
Good luck
Richard.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2004 12:57 PM
тАО06-18-2004 12:57 PM
Re: Killing Zombie process
for i in `ps -el|grep -v SZ|grep Z|awk '{print $5}'`
do
ps -ef|grep -v grep|grep ${i} >>$logfile 2>&1
kill -18 ${i}
done
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2004 08:20 PM
тАО06-20-2004 08:20 PM
Re: Killing Zombie process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2004 08:42 PM
тАО06-20-2004 08:42 PM
Re: Killing Zombie process
Reboot is probably one of the sure way to get rid of these.
thanks,