Zombie Process
PronunciationZOM-bee PROH-ses
Definition
A zombie process is a child process that has finished but still appears in the process table because its parent hasn't read its exit status yet. It uses almost no resources, but it still holds a PID.
Where you hear it
In ps output marked Z or <defunct>, container PID 1 problems, and server hygiene.
Examples
Thousands of zombie processes filled the process table.
Use a tiny init such as
tiniin the container to reap zombies.The parent process never reaped its children, so zombie processes piled up.
Common mistake
Trying to kill a zombie. It is already dead; fix or restart the parent so it reaps its children.
Don't confuse with
A hung or runaway process, which is still alive and running. A zombie has already finished.
Say it at work
- In a meeting or chat
There are zombies in the process list.
- In an email or ticket
Who is the parent of this defunct process?