Fork Bomb
ELI5 — The Vibe Check
A fork bomb is a program that endlessly copies itself until it eats all system resources and crashes the machine. It's the simplest denial-of-service attack — just a few characters of code that say 'make a copy of yourself, and have that copy make a copy, and...' The most famous one in bash is just 13 characters. DO NOT run it. (It's :(){ :|:& };: by the way. Seriously, don't.)
Real Talk
A fork bomb is a denial-of-service attack that exploits the fork system call to exponentially create processes until system resources are exhausted. It's prevented through process limits (ulimit), cgroups, and container resource constraints. Modern systems set per-user process limits specifically to mitigate fork bombs. It's a common introduction to why resource limits matter.
When You'll Hear This
"Someone ran a fork bomb on the shared server and it crashed." / "Always set ulimits on shared systems to prevent fork bombs."
Related Terms
Container
A container is a running instance of a Docker image — it's the lunchbox you made and actually opened to eat from.
DDoS (DDoS)
DDoS (Distributed Denial of Service) is when thousands of computers flood your server with so much fake traffic that it can't handle real users.
Process
A process is a full running program with its own isolated chunk of memory.