Tagged articles

SIGCHLD

3 articles · Page 1 of 1
Raymond Ops
Raymond Ops
Jun 7, 2026 · Operations

Why Can’t kill -9 Remove Zombie Processes? A Step‑by‑Step Guide to Cleaning Orphans

This article explains the Linux zombie and orphan process mechanisms, why kill -9 cannot terminate zombies, how to detect them with ps, top and /proc, and provides practical cleanup methods—including sending SIGCHLD to the parent, killing the parent, batch scripts, container‑specific solutions like tini, and preventive coding techniques—plus systemd handling and monitoring with Prometheus.

LinuxMonitoringSIGCHLD
0 likes · 32 min read
Why Can’t kill -9 Remove Zombie Processes? A Step‑by‑Step Guide to Cleaning Orphans
ITPUB
ITPUB
Jun 29, 2016 · Fundamentals

Why Zombie Processes Persist in Linux and How to Eliminate Them

The article explains how zombie processes are created when a child exits without its parent calling wait/waitpid, outlines the risks of accumulating zombies, and provides several practical techniques—including signal handling and sigaction flags—to prevent or automatically reap them.

LinuxSIGCHLDprocess management
0 likes · 6 min read
Why Zombie Processes Persist in Linux and How to Eliminate Them
MaGe Linux Operations
MaGe Linux Operations
Aug 13, 2014 · Operations

How to Detect, Kill, and Prevent Zombie Processes in Linux

This article explains what zombie processes are in Unix/Linux, shows how to list and count them using ps and top, provides commands to terminate them by killing their parent or sending signals, and offers strategies such as ignoring SIGCHLD or double‑forking to prevent their creation.

LinuxSIGCHLDprocess management
0 likes · 4 min read
How to Detect, Kill, and Prevent Zombie Processes in Linux