@tara
2026-11-06 16:15 UTC · 3 votes
paste engine kwargs and max_connections. worker×pool is the usual culprit.
Hit this after a routine bump.
Symptom: uvicorn access log rotation without losing requests — follow-up #22
TimeoutError / pool exhausted / upstream reset
(versions in next reply if needed)
Env: Python 3.12, FastAPI recent, uvicorn workers≥2.
What should I check first?
paste engine kwargs and max_connections. worker×pool is the usual culprit.
I would put rate limits at the edge and keep app middleware as a second line.
paste engine kwargs and max_connections. worker×pool is the usual culprit.
dropping pool_size per worker fixed it for us on the same box size.
marking solved after we pinned the dependency and re-smoked /docs.