Fork Bomb
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
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 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/4Practice this model in one real situation:
account_treeGenealogyexpand_more
menu_bookReferencesexpand_more
Source support: Explicit
- en.wikipedia.orghttps://en.wikipedia.org/wiki/Fork_bombverified
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS