Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-05-2015, 01:33 PM   #1
LQ Newbie
Registered: Jan 2015
Posts: 1

Rep: Reputation: Disabled
How to Kill Zombie Process premanently

Hi All,

Can any one help me to kill the zombie process permanently in RHEL6 ,tried to kill them by kill -9 PID but they come back immediately
Old 01-05-2015, 02:03 PM   #2
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.1, LFS-current, NetBSD 6.1.3
Posts: 272

Rep: Reputation: 103Reputation: 103
You can't kill a zombie process, you can however kill the parent (this doesnt help if the parent is init)
Old 01-05-2015, 07:06 PM   #3
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,713

Rep: Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279Reputation: 1279
Originally Posted by suryadubey View Post
Hi All,

Can any one help me to kill the zombie process permanently in RHEL6 ,tried to kill them by kill -9 PID but they come back immediately
They never went away.

Zombie processes can exist for long terms for two reasons...

1. the process opens some device that is failing, and you aborted the process. The zombie can't terminate until the device (that is failing) releases it. Some network operations can also do this, though they also have a timeout (anything from 10 seconds to about 15 minutes has been seen).

2. the parent process of the zombie either exits, or expects its children to exit and just hasn't gotten around to getting the exit status.

The zombie process that has init (pid 1) as its parent should get cleaned up and removed nearly immediately. The one time this doesn't happen is when it has a kernel operation requested that has failed (or just taking a long time to exit - some network operations can do this).

The purpose of a zombie process to to pass some resources/information back to the parent process. When the parent process (or init) receives the SIGCHLD signal, it can then retrieve the exit status (which releases the process header, and the process vanishes). If you are worried about the process memory, that was already released - only the header remains to provide the exit status (it also has the various utilizations that could be recorded for accounting).

Last edited by jpollard; 01-05-2015 at 07:10 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kill a zombie process - which process is the parent that I should kill? Mountain Linux - General 3 12-31-2011 03:44 PM
kill zombie process qwertyjjj Linux - Newbie 3 08-07-2010 11:09 PM
Can't kill firefox process on slack 12.0 (zombie) Tim Johnson Slackware 8 05-28-2010 08:03 AM
how to kill zombie process bharatlalgupta Red Hat 1 06-18-2009 11:17 AM
how to kill zombie process mokku Linux - Server 5 10-25-2007 10:21 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration