zombie process
A finished child process whose exit status its parent has not yet collected, so it still occupies an entry in the process table.
In more detail
Collecting the status is called reaping. If the parent never does it zombies pile up, which is why containers need a proper init process.
Related terms
- init process — The first process started on a system or in a container, with process ID 1 and special duties.
- tini — A tiny init program for containers that runs as process ID 1, forwards signals to your program and reaps zombie processes.
- child process — A process started by another process, its parent, from which it inherits a copy of the environment and current directory.
Taught in
- Production Hardening: Graceful Shutdown & Docker — Node.js Internals & Backend Services