12๐
We had this issue recently (with memory usage slowly climbing until the server(s) could not keep up).
We set gunicorn max_requests variable and it solved our problem. We set ours to 1000, although Iโm not certain what the โidealโ setting would be.
http://docs.gunicorn.org/en/latest/configure.html#max-requests
Although Iโm not sure if there may potentially be some reason why this became a problem to begin with.
๐คnwilson5
- [Django]-Implement zeromq publisher in django with celery (Broker redis)
- [Django]-Django-rest-swagger doesn't work when I want to use get_serializer_class() to return different fields for different user based on the url parameters
- [Django]-Multi-table inheritance in the admin view
- [Django]-Nginx/gunicorn connection hanging for 60 seconds
- [Django]-Deploying Django application on Webfaction
Source:stackexchange.com