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

Passing max-requests parameter to gunicorn config #461

Open
Ram81 opened this issue Feb 1, 2021 · 1 comment
Open

Passing max-requests parameter to gunicorn config #461

Ram81 opened this issue Feb 1, 2021 · 1 comment

Comments

@Ram81
Copy link

Ram81 commented Feb 1, 2021

When running an experiment we noticed gunicorn memory leak issue when using psiturk. Is there a way to pass max-requests as config parameter to gunicorn?

@deargle
Copy link
Collaborator

deargle commented Mar 15, 2021

Sorry I missed this. You should be able to set any extra gunicorn arguments via environment variables -- I think they'll be picked up by gunicorn. Report back? See https://docs.gunicorn.org/en/stable/settings.html

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