Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GRAPHITE_WSGI_REQUEST_TIMEOUT has no effect #119

Closed
hamelg opened this issue Oct 15, 2019 · 2 comments
Closed

GRAPHITE_WSGI_REQUEST_TIMEOUT has no effect #119

hamelg opened this issue Oct 15, 2019 · 2 comments

Comments

@hamelg
Copy link
Contributor

hamelg commented Oct 15, 2019

The documentation says about this tunable :
maximum number of seconds that a request is allowed to run before the daemon process is restarted

But if you test a slow request which takes more than the timeout, the worker processes it completely and never restarts.
This issue gives some explanations :
benoitc/gunicorn#2086

The workaround is to set GRAPHITE_WSGI_THREADS=1

@deniszh
Copy link
Member

deniszh commented Oct 23, 2019

OK, I will set GRAPHITE_WSGI_THREADS=1 by default in new release.

@deniszh
Copy link
Member

deniszh commented Oct 24, 2019

Fixed in 1.1.6-1

@deniszh deniszh closed this as completed Oct 24, 2019
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

No branches or pull requests

2 participants