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 · Hard
Production incident practice: Pool Party
Nothing deployed. No traffic spike. The database just stopped saying yes. The API can't get database connections, but the database itself is barely…
The problem
- CRITICAL · api · “too many connections” — 61% of requests failing
- The API can't get database connections, but the database itself is barely working. Something is hogging the connection pool. Find it, stop it, and give the connections back.
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
Start with status, then db connections — who is actually holding them?
What this teaches (spoiler)
Connection pools are shared and finite. Stop the leak before cleaning up after it — and give background jobs their own pool, a connection timeout, and an alert on idle-in-transaction connections.