Database connection pool exhausted

On-call incidentMedium20 min

Your task

A service that talks to a database starts intermittently failing requests with 'timeout acquiring connection from pool' errors, getting worse over a couple of hours after a deploy this morning. The database itself looks healthy (low CPU, normal query times). Traffic is normal. The pool dashboard shows in-use connections pinned at the max while idle connections sit at zero. How do you triage?

It covers

  • Connection pool
  • Database
  • Leak