- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: process zombie
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
Forums
Discussions
Discussions
Discussions
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
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
09-10-2003 02:21 PM
09-10-2003 02:21 PM
process zombie
As I kill processes zombie?
Manuel,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2003 05:06 PM
09-10-2003 05:06 PM
Re: process zombie
PID is process id
If that does not work, then reboot the box.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2003 06:38 PM
09-10-2003 06:38 PM
Re: process zombie
It seems that you need to reboot your system to remove those processes zombie, but if you cannot reboot it now, it should not cause you too much trouble until downtime can be arranged.
best regards
twang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2003 11:46 PM
09-10-2003 11:46 PM
Re: process zombie
The zombie process will go away as soon as the parent process does the "wait()". If they are staying around for a while, then you have an application that is not behaving properly and you should try and investigate which one it is.
It is worth pointing out that unless you get lots and lots of these, they aren't taking up resources.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 05:00 AM
09-11-2003 05:00 AM
Re: process zombie
-get pid of the zombie (defunc);
-then ps -elf|grep pid. This will show parent and/or child(ren) process of the zombie.
-if the zombie's parent process is 1 (init), there must be at least one child process belongs to this zombie. From above ps command, you will see the pid of the child process.
Use kill -9 childpid. Then the zombie would go away.
-if the zombie's parent process is not 1, then you need use ps to grep the parent process. If there are no more other child processes running under the parent process, use kill -9 parentpid. then the zombie would go away. But if the parent has other child running, you might want to be careful in that killing parent may terminate those child processes as well.
I came out this method and use it in my system frequently and it works just perfect.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 08:03 PM
09-11-2003 08:03 PM
Re: process zombie
If it is a true zombie process who's parent has died (as Mark talked about), then you won't be able to kill it, and as Steven and Twang said, a reboot will be required.
If a process has gone truely gone zombie, there is nothing you can do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2003 08:14 PM
09-11-2003 08:14 PM
Re: process zombie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2003 09:13 PM
09-21-2003 09:13 PM
Re: process zombie
A you cannot kill a zombie as it is already dead. That is why it is called a zombie!
The zombie hangs around *purely* as an entry in your process table. This is so that it can report its exit code, CPU time, and a few other stats back to the parent process that initiated it.
If the parent process has died off without wait()ing for the exit status, etc., then the zombie may well be orphaned and cannot be removed by any means other than a reboot.
However, as I said earlier, it is only taking up one slot in your process table - it doesn't consume memory, or CPU (pre se), so the only side effect of a zombie process lingering is that, if you find processes spawning a large number of zombies, you will eventually run out of process space and your computer will fall over.
Zombies are generally the result of poorly written software.
Hope this helps (HTH).
B.
ps A quick search on google would have answered this and more, more quickly! ;-)