Linux Defunct (<defunct>) Zombie Process Accumulation
Parent process failed to call `waitpid(2)` to reap exited child processes.
Runs locally in browser
Free · No login
Independently Verified 2026-11-25
v4.1.0
Identifier: Linux Defunct (<defunct>) Zombie Process Accumulation
Platform: Linux
Common Root Causes:
- Parent process failed to call `waitpid(2)` to reap exited child processes.
Interactive Diagnostic Checklist
Verified Solutions:
- Fix child reaping in the parent daemon or run containers with `--init` (tini).
Safe Diagnostic Command:
ps -eo pid,ppid,stat,cmd | awk '$3 ~ /Z/'
Warning: Verify configuration changes in staging or with dry-run flags (e.g. nginx -t) before reloading production services.
Technical Explanation
Parent process failed to call `waitpid(2)` to reap exited child processes. Recommended diagnostic: `ps -eo pid,ppid,stat,cmd | awk '$3 ~ /Z/'`. Remediation: Fix child reaping in the parent daemon or run containers with `--init` (tini).
Worked Examples
- Run `ps -eo pid,ppid,stat,cmd | awk '$3 ~ /Z/'` to verify root cause before applying the remediation.
Limitations & Assumptions
- Always verify configuration changes in staging or with dry-run flags (e.g. `nginx -t`) before reloading production services.
Source References & Verification
Resource ID: err-linux-zombie-defunct-processes · Independently verified: 2026-11-25