[Django]-Django 1.5 gunicorn workers eats memory

3๐Ÿ‘

โœ…

I solved it by upgrading django to 1.5.1 (1.5 has some memory leak bugs)

๐Ÿ‘คEvg

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

Leave a comment