Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M0731

Fork Bomb

Fork Bomb
SystemsHigh supportSystems Theory
Included
account_tree

Version 1.0.0 · Updated 2026-07-30

CORE DEFINITION

An extremely short piece of code that replicates itself infinitely. Process A creates processes B and C, and B and C each create two new processes, leading to exponential growth that instantly exhausts system resources and causes a crash.

SCAFFOLDING EFFECT

psychology

Reduce cognitive load

Understanding the destructive power of exponential self-replication. In biological invasions, cancer metastasis, or the spread of malicious rumors, the mechanism is a fork bomb. The only way to counter it is not to kill processes one by one (they are too many), but to limit the reproduction rate or set a maximum process count quota.

anchor

Anchor fast decisions

In Unix-like systems, fork() duplicates a process. A fork bomb makes each new process recursively fork two more processes, causing the number of processes to grow exponentially (2^n), exhausting PIDs and memory in a very short time, making the system unable to create new processes and thus freezing. The mechanism is 'unbounded exponential self-replication'.

MINIMUM ACTION

In progress 0/4

Practice this model in one real situation:

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

Source support: Explicit

  • link
    en.wikipedia.orghttps://en.wikipedia.org/wiki/Fork_bombZH · Explicit
    verified

RELATED MODELS