Runtyme
All practice problems

DevOps Engineering · Production incident · Warm-up

Production incident practice: Too Many Connections

The database is up, but nobody can get a connection. Requests are timing out waiting for a database connection. Find who's hogging them, stop it, and…

The problem

  • CRITICAL · api · db pool timeout (100/100 connections in use)
  • Requests are timing out waiting for a database connection. Find who's hogging them, stop it, and confirm the pool recovers.

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

`db connections` shows who holds the connections.

What this teaches (spoiler)

Shared pools need limits per client. Give batch jobs their own small pool and time out idle transactions.

Bug of the Day: a new problem every midnight, free for everyone. Keep a streak with your friends.