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 Memory Hog
inventory pods keep getting killed for using too much memory. inventory keeps crashing and restarting. Find what's eating the memory, stop it, and…
The problem
- CRITICAL · inventory · 6 restarts in 10 min (OOMKilled)
- inventory keeps crashing and restarting. Find what's eating the memory, stop it, and confirm memory stays flat.
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
`kubectl get pods` shows restarts. `kubectl describe pod` says why it died.
What this teaches (spoiler)
A feature flag is the fastest off switch you have. Ship risky features behind one.