Tagged articles
zombie process
25 articles · Page 1 of 1
This article explains why kill -9 fails to terminate Linux processes — covering guardian process restarts, uninterruptible D-state I/O waits, and zombie processes — and provides a systematic troubleshooting sequence for system-wide hangs: check disk space, OOM killer logs, and CPU vs I/O load before resorting to reboot.
LinuxOOM killerdisk space
0 likes · 7 min read


ITPUBOct 3, 2026 · Fundamentals
A veteran engineer recounts how deep Linux kernel knowledge resolved a catastrophic zombie-process outage across thousands of CentOS 6 servers, then explores the Unix philosophy of user autonomy, tool composability, and transparent system design that makes Linux essential for serious engineers.
Init SystemLinuxUnix Philosophy
0 likes · 17 min read

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.
LinuxProcess ManagementSIGCHLD
0 likes · 32 min read

This article explains Linux process lifecycle, detailing the five classic states, how the kernel represents them, practical commands and C code to observe state transitions, and deep dives into zombie and orphan processes with real‑world examples and mitigation techniques.
LinuxProcess Managementkernel
0 likes · 22 min read

Learn how to identify and safely terminate Linux processes using tools like ps, grep, pgrep, kill, killall, and pkill, while handling special cases such as zombie and unresponsive processes with best‑practice precautions to avoid system instability.
Linuxkillpkill
0 likes · 5 min read

This article explains the Linux zombie process concept, shows how they are created when a parent neglects wait(), demonstrates the issue with sample C code and ps output, discusses the risks of PID exhaustion, and provides proper handling techniques using wait() and process reaping.
Linuxforkwait
0 likes · 7 min read

This guide explains why zombie processes appear in Linux, demonstrates how to reproduce them with sample code, shows how to identify them using ps, discusses the system risks they pose, and provides proper cleanup techniques using wait/waitpid and parent termination.
LinuxSystem Programmingwait
0 likes · 7 min read

This article details a systematic investigation of a Hadoop NameNode/DataNode that showed high memory usage at 3 AM, identifies zombie crond/sendmail/postdrop processes caused by a failed Postfix service, and provides cleanup commands and preventive measures for memory, disk, and inode issues.
HadoopInodeMemory Leak
0 likes · 5 min read

Learn what Linux processes are, explore their various states—including running, ready, blocked, zombie, and orphan—understand how PID and PPID work, and discover practical C code examples and signal‑handling techniques to prevent and clean up zombie processes safely.
Process ManagementSignal Handlingorphan process
0 likes · 13 min read

This guide explains what zombie processes are, how they are created when a child exits before its parent reaps it, and provides practical commands and sample C code to reproduce and safely remove zombie processes on a Linux system.
LinuxProcess Managementfork
0 likes · 7 min read

This article explains the three‑ and five‑state process models, Linux task_struct states, and how orphan and zombie processes arise in containers, detailing PID namespaces, Docker's pause container, signal handling, and practical solutions for Kubernetes pods.
Linuxorphan processprocess states
0 likes · 16 min read

This guide explains how to use the ps and grep commands to identify zombie processes on Linux, interpret the output fields, and terminate them safely by sending signals to the appropriate parent or child processes, with example commands and verification steps.
LinuxProcess Managementgrep
0 likes · 2 min read

This guide shows how to use the ps command combined with grep to list zombie processes, explains each option, demonstrates killing the identified zombies with kill -HUP, and provides tips for verifying removal and using top to monitor processes.
Process Managementgrepps command
0 likes · 3 min read

This guide explains how to use the Linux ps and grep commands to identify zombie processes, interpret their status fields, and safely terminate them with kill -HUP, including steps to verify removal and alternative methods using top.
LinuxProcess Managementgrep
0 likes · 3 min read

This guide explains how to use the ps and grep commands to identify zombie processes on Linux, shows the command syntax, interprets the output, and provides step‑by‑step instructions for terminating the zombie and its parent process if needed.
Linuxgrepkill
0 likes · 3 min read

This article explains what a process is, how it differs from a program, outlines its key characteristics, clarifies concurrency versus parallelism, describes how to create child processes, and covers orphan and zombie processes, termination methods, process groups, sessions, and race conditions.
Concurrencyforkoperating system
0 likes · 7 min read


ITPUBApr 3, 2020 · Fundamentals
This article explains what Linux zombie processes are, why the kernel retains them after a program exits, the crucial information they store, and demonstrates how to create, observe, and properly clean up zombies using C code and standard system calls.
C++LinuxProcess Management
0 likes · 5 min read

This article explains what a Linux zombie process is, why it remains after a child exits, what information it retains, how it affects system resources, and provides a complete C example with compilation and command‑line steps to observe and clean up zombies.
Process Managementforkwaitpid
0 likes · 5 min read

This article explains how zombie processes remain in the Linux process table after a program calls exit, what information they retain, why they cannot be killed directly, and how to properly reap them using wait or waitpid.
Process Managementwaitpidzombie process
0 likes · 5 min read

This article explores a collection of unusual Unix/Linux commands and process types—daemon, zombie, kill, cat, tail, which, crypt, and shred—explaining their purpose, behavior, and practical usage tips for system administrators and developers.
Shell Commandsdaemonzombie process
0 likes · 6 min read


ITPUBJun 19, 2018 · Fundamentals
This article explains what a Linux process is, how the kernel schedules multiple processes, the nature and dangers of zombie processes, techniques to prevent them, and the fundamentals of multithreading, including thread creation, scheduling, priorities, and synchronization issues.
LinuxProcess Managementoperating system
0 likes · 14 min read

This article explains Linux process fundamentals, scheduling, the creation of zombie processes, their causes, and practical methods to avoid them, while also comparing processes and threads and discussing multithreading concepts and synchronization techniques.
LinuxSchedulingThread
0 likes · 14 min read


ITPUBNov 5, 2016 · Fundamentals
This article explains what zombie processes are in Linux, how they are created when a child exits without its parent calling wait, demonstrates their detection with ps, provides sample C code to reproduce and handle them, and shows techniques to avoid their accumulation.
C++Process ManagementSignal Handling
0 likes · 8 min read


ITPUBJun 29, 2016 · Fundamentals
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.
LinuxProcess ManagementSIGCHLD
0 likes · 6 min read

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.
LinuxProcess ManagementSIGCHLD
0 likes · 4 min read
