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

Improve gunicorn in docker images #52

Closed
laurensvdwiel opened this issue May 23, 2019 · 3 comments
Closed

Improve gunicorn in docker images #52

laurensvdwiel opened this issue May 23, 2019 · 3 comments
Assignees
Labels
enhancement Should Moderate priority

Comments

@laurensvdwiel
Copy link
Member

Add improvements from :
https://pythonspeed.com/articles/gunicorn-in-docker/​

To the MetaDome project at:

@laurensvdwiel
Copy link
Member Author

@laurensvdwiel will change the following:
gunicorn -b 0.0.0.0:5000 metadome.application:app

To

gunicorn -b 0.0.0.0:5000 metadome.application:app --worker-tmp-dir /dev/shm --workers=2 --threads=4 --worker-class=gthread

laurensvdwiel added a commit that referenced this issue Aug 7, 2019
@laurensvdwiel
Copy link
Member Author

This fix causes problems on the server: #58

Will revert these changes as a fix

@laurensvdwiel laurensvdwiel reopened this Aug 15, 2019
laurensvdwiel added a commit that referenced this issue Aug 15, 2019
@laurensvdwiel
Copy link
Member Author

This enchancement has now been reverted as it caused issues (see: #58 )

This enhancement will now be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Should Moderate priority
Projects
None yet
Development

No branches or pull requests

2 participants