Tagged articles
22 articles
Page 1 of 1
Raymond Ops
Raymond Ops
Nov 7, 2025 · Fundamentals

Unlocking Linux Process States: From Zombies to Orphans

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.

LinuxOrphan ProcessProcess States
0 likes · 22 min read
Unlocking Linux Process States: From Zombies to Orphans
Liangxu Linux
Liangxu Linux
Sep 17, 2024 · Fundamentals

Why Do Zombie Processes Appear in Linux and How to Eliminate Them?

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
Why Do Zombie Processes Appear in Linux and How to Eliminate Them?
Liangxu Linux
Liangxu Linux
Nov 6, 2021 · Fundamentals

How to Understand and Eliminate Zombie Processes on Linux

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.

Linuxforkkill
0 likes · 7 min read
How to Understand and Eliminate Zombie Processes on Linux
Open Source Linux
Open Source Linux
Apr 10, 2021 · Operations

How to Locate and Eliminate Zombie Processes with ps and grep

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.

GrepLinuxprocess management
0 likes · 2 min read
How to Locate and Eliminate Zombie Processes with ps and grep
Programmer DD
Programmer DD
Oct 31, 2020 · Operations

How to Detect and Kill Zombie Processes with ps and grep

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.

Grepprocess managementps command
0 likes · 3 min read
How to Detect and Kill Zombie Processes with ps and grep
Liangxu Linux
Liangxu Linux
Jun 21, 2020 · Operations

How to Locate and Eliminate Zombie Processes with ps, grep, and kill

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.

GrepLinuxSystem Administration
0 likes · 3 min read
How to Locate and Eliminate Zombie Processes with ps, grep, and kill
Open Source Linux
Open Source Linux
May 11, 2020 · Fundamentals

Understanding Processes: Basics, Forking, and Lifecycle in Operating Systems

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.

Operating Systemconcurrencyfork
0 likes · 7 min read
Understanding Processes: Basics, Forking, and Lifecycle in Operating Systems
Liangxu Linux
Liangxu Linux
Aug 18, 2019 · Operations

Uncover the Weirdest Linux Commands and Processes You Need to Know

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
Uncover the Weirdest Linux Commands and Processes You Need to Know
ITPUB
ITPUB
Jun 19, 2018 · Fundamentals

Understanding Linux Processes, Zombie Processes, and Multithreading

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.

LinuxOperating Systemprocess management
0 likes · 14 min read
Understanding Linux Processes, Zombie Processes, and Multithreading
Efficient Ops
Efficient Ops
Jun 18, 2018 · Fundamentals

Why Do Zombie Processes Appear in Linux and How to Prevent Them?

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
Why Do Zombie Processes Appear in Linux and How to Prevent Them?
ITPUB
ITPUB
Nov 5, 2016 · Fundamentals

Understanding Linux Zombie Processes and How to Prevent Them

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
Understanding Linux Zombie Processes and How to Prevent Them
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.

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