discussion 2026-10-26 2326 views 3 votes

uvloop on / off — did you measure? — follow-up #34

@tomo
Backend Engineer

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?

7 replies

@amira
2026-10-26 15:59 UTC · 6 votes

paste engine kwargs and max_connections. worker×pool is the usual culprit.

@mei
2026-10-26 20:02 UTC · 9 votes

dropping pool_size per worker fixed it for us on the same box size.

@nyx_api
2026-10-27 13:35 UTC · 8 votes

measure with keep-alive on; cold connects inflate p99.

@mei
2026-10-28 04:57 UTC · 0 votes

marking solved after we pinned the dependency and re-smoked /docs.

@gabe
2026-10-28 13:49 UTC · 1 votes

measure with keep-alive on; cold connects inflate p99.

@ina
2026-10-28 19:27 UTC · 3 votes

measure with keep-alive on; cold connects inflate p99.

@ina
2026-10-29 04:30 UTC · 0 votes

dropping pool_size per worker fixed it for us on the same box size.

Reply

Login or register to reply.