solved 2026-11-06 373 views 4 votes

uvicorn access log rotation without losing requests — follow-up #22

@rina_lab79
Junior Python Dev

Hit this after a routine bump.

Symptom: uvicorn access log rotation without losing requests — follow-up #22

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?

5 replies

@tara
2026-11-06 16:15 UTC · 3 votes

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

@elias
2026-11-06 19:47 UTC · 10 votes

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

@jon_async
2026-11-06 22:36 UTC · 7 votes

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

@piotr
2026-11-07 12:40 UTC · 1 votes

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

@yuna
2026-11-08 05:17 UTC · 3 votes

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

Reply

Login or register to reply.