All practice problems Bug of the Day: a new problem every midnight, free for everyone. Keep a streak with your friends.
DevOps Engineering · Production incident · Intermediate
Production incident practice: The Runaway Script
api-01 is pegged at 100% CPU and everything on it is crawling. Something on api-01 is eating all the CPU. Find it, stop it without killing the app, and…
The problem
- WARNING · api-01 · CPU 100% for 15 min, p99 4s
- Something on api-01 is eating all the CPU. Find it, stop it without killing the app, and confirm load drops.
You'll use: Linux shell · kubectl · curl · Logs & metrics · Rollbacks
Solve it (expert level)2–4 min · Type commands (or tap them)
Show a hint
`top` shows who uses the CPU.
What this teaches (spoiler)
Keep batch work off the servers that answer customers, and give it limits (nice, cgroups) when it must share.