- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: kill ZOMBI 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
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-06-2005 05:04 AM
09-06-2005 05:04 AM
kill ZOMBI PROCESS
PID ...wen i am tring to kill -9 PID,
its giving error that this process doenot exists..
i want to kill this process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 05:08 AM
09-06-2005 05:08 AM
Re: kill ZOMBI PROCESS
By definition a real zombie cannot be killed...
Your only way of getting rid of it is reboot
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 05:10 AM
09-06-2005 05:10 AM
Re: kill ZOMBI PROCESS
Pete
Pete
- Tags:
- zombie master
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 05:10 AM
09-06-2005 05:10 AM
Re: kill ZOMBI PROCESS
First, the classic quote: "You can't kill a zombie. It's already dead!".
If you do a 'kill
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 05:13 AM
09-06-2005 05:13 AM
Re: kill ZOMBI PROCESS
I can imagine you want, but you CAN'T kill him. He's already dead.
See e.g. this link for a explanation:
http://www.losurs.org/docs/zombies
(just one out of thousands ...)
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 05:14 AM
09-06-2005 05:14 AM
Re: kill ZOMBI PROCESS
Checking:
ps -el |grep Z
You may be able to kill by killing parent - unless as others say parent is 1.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 05:36 AM
09-06-2005 05:36 AM
Re: kill ZOMBI PROCESS
There is no way other than rebooting the server because you cannot kill a zombie process.
Rgds
HGN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 06:03 AM
09-06-2005 06:03 AM
Re: kill ZOMBI PROCESS
regards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 06:08 AM
09-06-2005 06:08 AM
Re: kill ZOMBI PROCESS
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2005 12:27 AM
09-07-2005 12:27 AM
Re: kill ZOMBI PROCESS
***
On a sidenote, anyone who saw Shaun of the Dead knows the way to kill a zombie is to hit them in the head.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2005 12:56 AM
09-07-2005 12:56 AM
Re: kill ZOMBI PROCESS
maybe we should start with what zombies are...
ok, you have a process, the so called parent...this forks a new process, the so called child!
when the child exits, the parent receives a signal, the sigchld. Now we have a zombie. The livetime of a zombie depends on the parent-programm (or better the programmer). Per definition, the parent has to catch the signal (so called signal-handler) and do a "wait". This is *NOT* the standard-behaviour in all the languages, that I know.
So a good guy will install a signalhandler for SIGCHLD in his programm and just call wait...then your zombies lifetime just depend on the load of the system. In normal cases, you won't even see the zombies...
If you see zombies, you can be sure, that the guy, who programmed the zombies parentprocess has forgotten to think about the signalhandler.
If you kill the parent, the zombie will become a child of the init-process. There you can be sure, that the guys who programmed init were smart enough to think of the signalhandler. If not, you will end up with millions of zombies, because every childprocess, that exits is first a zombie!
So just kill the parentprocess and wait some minutes. You won't have to boot!
And blame the guy who forgots about signalhandlers...
Micky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2005 02:38 AM
09-07-2005 02:38 AM
Re: kill ZOMBI PROCESS
When the process goes as Zombi , its control goes to the parent process, and usually init becomes its parent process. And as you cant kill init process, the only option left you need to reboot the box.
Cheers ,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2005 03:10 AM
09-07-2005 03:10 AM
Re: kill ZOMBI PROCESS
As everyone has explained, these processes are usually the result of bad programming. The good news is that zombie process consume no memory or CPU time. They are just what they say they are: Zombies!
As A. Clay Stephenson has patiently explained many times, zombies are just entries in the process table, and frequently result from their parent process being killed before the child was killed. As a result, the parent becomes init, and the zombie lives on in the process table. Not memory or CPU.
Regards,
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2005 01:20 AM
09-08-2005 01:20 AM
Re: kill ZOMBI PROCESS
compile it, using "make zombie" (if you have a compiler like gcc on your system)
you won't be able to create a zombie, that lives longer than just a few seconds...I've tried everything to do so! Even killing the parent with "kill -9" won't let the zombie live.
A zombie lives as long, as the system is under very heavy load, or as long as the parent didn't call "wait".
Micky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2005 01:46 AM
09-08-2005 01:46 AM
Re: kill ZOMBI PROCESS
Zombie process is a process which has been killed or exited using exit(2) system call but has not received a wait(2) call from its parent process. It does not consume any system resources except for its entry in the process table maintained by the operating system and can be safely ignored. It will be terminated when its parent process completes execution or during system reboot.
-Ross