discussion 2026-10-11 873 views 12 votes

How large is too large for a request body? — follow-up #38

@omar
Tech Lead

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?

8 replies

@rine
2026-10-11 12:06 UTC · 9 votes

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

@piotr
2026-10-12 02:15 UTC · 4 votes

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

@mei
2026-10-12 04:25 UTC · 4 votes

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

@oz
2026-10-12 21:54 UTC · 4 votes

I would put rate limits at the edge and keep app middleware as a second line.

@cole
2026-10-13 17:48 UTC · 4 votes

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

@cole
2026-11-23 00:58 UTC · 4 votes

marking this solved after pinning and re-smoking /docs.

@sana_sre62
2026-11-23 22:01 UTC · 4 votes

measure p99 with keep-alive; cold connects lie.

@mira_box81
2026-11-23 22:01 UTC · 4 votes

middleware that opens db sessions will bite you under load.

Reply

Login or register to reply.