@amira
2026-10-26 15:59 UTC · 6 votes
paste engine kwargs and max_connections. worker×pool is the usual culprit.
Hit this after a routine bump.
Symptom: uvloop on / off — did you measure? — follow-up #34
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.
dropping pool_size per worker fixed it for us on the same box size.
measure with keep-alive on; cold connects inflate p99.
marking solved after we pinned the dependency and re-smoked /docs.
measure with keep-alive on; cold connects inflate p99.
measure with keep-alive on; cold connects inflate p99.
dropping pool_size per worker fixed it for us on the same box size.