Linux

What is a zombie process?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

A process which has finished to run but has not exited.

One reason it happens is when a parent process is programmed incorrectly. Every parent process should execute wait() to get the exit code from the child process which finished to run. But when the parent isn't checking for the child exit code, the child process can still exists although it finished to run.