Skip to content

docs(proxy): document --max_requests_before_restart_jitter#367

Open
yassin-berriai wants to merge 1 commit into
mainfrom
litellm_docs_max_requests_jitter
Open

docs(proxy): document --max_requests_before_restart_jitter#367
yassin-berriai wants to merge 1 commit into
mainfrom
litellm_docs_max_requests_jitter

Conversation

@yassin-berriai

Copy link
Copy Markdown
Contributor

What

Documents the new --max_requests_before_restart_jitter proxy flag added in BerriAI/litellm#30601.

The CLI reference (docs/proxy/cli.md) gets a flag entry next to --max_requests_before_restart, covering the env var, the uvicorn (limit_max_requests_jitter, requires uvicorn>=0.41.0) and gunicorn (max_requests_jitter) mappings, and that it has no effect without a base restart threshold.

The production guide (docs/proxy/prod.md) gets a short paragraph in the worker-recycling section explaining the synchronized-restart problem; when several workers boot together they recycle in lockstep and drop a chunk of capacity at once, and the jitter flag staggers those restarts. This is the production concern that motivated the feature.

Type

📖 Documentation

Adds the new jitter flag to the proxy CLI reference and to the production
worker-recycling guide, where staggering restarts to avoid synchronized worker
recycling is the relevant production concern. Covers the uvicorn>=0.41.0
requirement and that the flag has no effect without --max_requests_before_restart.

Documents BerriAI/litellm#30601
@vercel

vercel Bot commented Jun 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
litellm Ready Ready Preview, Comment Jun 17, 2026 4:22pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant