Interview practice question
Connection pool exhausted
Backend Engineering · Production Debugging · Intermediate
Your service logs "timeout waiting for connection from pool" errors during peak traffic. How do you investigate and fix it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Check pool size vs concurrency and DB limits.
- Long-held connections: slow queries, transactions with remote calls.
- Connection leaks (not returned).
- Pool metrics: active, idle, wait time.
- Fix queries/leaks before increasing pool.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.