@rine
2026-10-11 12:06 UTC · 9 votes
dropping pool_size per worker fixed it for us on the same box size.
Hit this after a routine bump.
Symptom: How large is too large for a request body? — follow-up #38
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?
dropping pool_size per worker fixed it for us on the same box size.
dropping pool_size per worker fixed it for us on the same box size.
dropping pool_size per worker fixed it for us on the same box size.
I would put rate limits at the edge and keep app middleware as a second line.
measure with keep-alive on; cold connects inflate p99.
marking this solved after pinning and re-smoking /docs.
measure p99 with keep-alive; cold connects lie.
middleware that opens db sessions will bite you under load.