How to Kill Zombie Process in Linux

Zombie or defunct Process is a process that has completed it’s execution but still has an entry in the process table. In simple words “Zombie process is a process state when the child dies before the parent process. In this case the structural information of the process is still in the process table”. You can not use the memory or resources associated with the zombie process because it’s still has the entry in the process table.

How to find the zombie process?

Output:

How to Kill zombie process?

A zombie is already dead, so you cannot kill it. To clean up a zombie, it must be waited on by its parent, so killing the parent should work to eliminate the zombie. Use the below command to kill the parent process.

or

The following two tabs change content below.

Tapas Mishra

Sr. Engineer (DevOps)
Loves to work on Opensource products. Having experience on Linux environment. Knowledge on Public cloud services like AWS, Rackspace, DigitalOcean, Linode. Please don't hesitate to give a comment on the posts. Your comments are my strength.

Leave a Reply