dropping pool_size per worker fixed it for us on the same box size.
uvloop on / off — did you measure?
@piotr
Backend Engineer
Hit this after a routine bump.
Symptom: uvloop on / off — did you measure?
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?
10 replies
@ina
2026-11-01 11:40 UTC · 10 votes
@leda
2026-11-02 03:21 UTC · 5 votes
marking solved after we pinned the dependency and re-smoked /docs.
@gabe
2026-11-02 14:54 UTC · 0 votes
measure with keep-alive on; cold connects inflate p99.
@sana
2026-11-03 01:42 UTC · 4 votes
dropping pool_size per worker fixed it for us on the same box size.
@tomo
2026-11-03 02:12 UTC · 8 votes
close the client in lifespan shutdown; leaks show up after a day of traffic.
@yuna
2026-11-03 18:14 UTC · 7 votes
minimal repro with ASGITransport would help more than screenshots.
@piotr
2026-11-03 20:47 UTC · 5 votes
measure with keep-alive on; cold connects inflate p99.
@vera_rs
2026-11-03 21:43 UTC · 3 votes
orjson helped CPU a few percent; DB still the ceiling.
@nik
2026-11-03 22:36 UTC · 4 votes
marking solved after we pinned the dependency and re-smoked /docs.
@jon_py74
2026-11-23 01:58 UTC · 1 votes
check your workers first; each one duplicates logging handlers.