Interview practice question
Zombie processes accumulating
Cloud & DevOps · Linux and Scripting · Intermediate
ps shows many processes in "Z" (zombie) state. What are they, and how do you fix it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Child exited, parent hasn't reaped it.
- Holds PID entry, not memory.
- Fix parent (wait()).
- Kill/restart parent.
- In containers, need init (tini).
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.