Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M6208

Zombie Process

Zombie Process
BehaviorHigh supportPsychology
Included
account_tree

Updated 2026-07-30

Loading revision record…

Summary

In Unix-like systems, a zombie process is a process that has completed execution (via the exit system call, or due to a fatal error or termination signal) but still has its process control block in the operating system's process table, in a "terminated state." This occurs when the child process needs to retain its table entry to allow its parent to read the child's exit status: once the exit status is read via the wait system call, the zombie process entry is removed from the process table, which is called "reaping." Normally, a process is directly waited on by its parent and reaped by the system. A process remaining in zombie state for a long time is generally an error and causes resource leakage. The English term "zombie process" derives from zombies—the undead—metaphorically indicating that the child process is dead but not yet reaped. Unlike normal processes, the kill command has no effect on zombie processes. Orphan processes are different from zombie processes; their parent...

Definition

A child process has finished running, but the parent process has not yet read its exit status, causing it to still occupy a slot in the process table. It does not consume resources but occupies a slot. Scaffolding role: Unfinished past. Those relationships or projects that have ended but have not been psychologically "archived" are zombie processes. Although they are no longer active, they occupy your psychological bandwidth. You must perform an explicit "reap" to formally say goodbye and release space.

How to use

Unfinished past. Those relationships or projects that have ended but have not been psychologically "archived" are zombie processes. Although they are no longer active, they occupy your psychological bandwidth. You must perform an explicit "reap" to formally say goodbye and release space.

Mechanism

A child process ends but remains in the process table, waiting for the parent to call wait() to read its exit status; if the parent delays reaping, it exists in a "zombie state"—not consuming CPU or memory, but occupying a process ID (PID). The mechanism is that an "unfinished exit" occupies a resource slot.

Practice

In progress 0/4

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%

Cases

  • An old job that has been left but not fully handed over still occupies attention; a relationship that has ended but not truly "closed" continues to drain emotions; zombie processes left behind when the parent process crashes in code.

Common pitfalls

  • Assuming that "no longer active" means "already released"; ignoring the cumulative consequences of filling up the PID table or psychological slots.
Sources

Source support: Explicit

References currently contain only Wikipedia links; primary sources still need review.

  • link
    zh.wikipedia.orghttps://zh.wikipedia.org/wiki/%E5%83%B5%E5%B0%B8%E8%BF%9B%E7%A8%8BZH · Explicit
    verified
account_treeGenealogyexpand_more

RELATED MODELS