15 June 2018

Linux: How To Kill A Zombie Process

A "Zombie Process" is a Child process who exited unexpectedly before the Parent process, so the Parent process does not grab the status of child process using wait() or waitpid() system calls. This means that the Child process is in "Zombie" state. Zombies and Orphan processes are not the same thing: While a Zombie is a defunct Child Process, the Orphan is a process whose Parent process has been killed and inherited by init process.