Database connection pool exhaustion
Orders are slow and some fail with 'too many connections'. Nothing was deployed. Find what is holding the database up.
The page
orders-api · ap-south-1p99 9.4 s · 'too many connections' in 1.8% of requests · paged 19:05Error budget burn 9.6× · 44% of monthly budget left
Your brief
orders-api latency spiked at 19:00 and some requests fail with 'too many connections' from Postgres. Nothing was deployed. Find what is holding the connections and relieve the database without losing writes.
First signal
$ curl -s localhost:9000/metrics | grep -E 'pg_pool_(in_use|size)' pg_pool_in_use 100 pg_pool_size 100
Open to everyone until Pro goes on sale · sign in to save your attemptRun the incident in the terminal
Open in the app