[Django]-Supervisor Django Gunicorn Gevent Memory Usage

5👍

If memory is clearing correctly when you just run the projects without supervisord, that’s baffling.

Supervisord is just a daemon manager. It doesn’t do anything but launch and manage a process, which, in this case, is just manage.py.

The only thing I could think is that autorestart is turned on, which has been known to cause a memory leak, if supervisor is constantly restarting the process because it detects a change and errors don’t get cleared out. This was actually fixed in supervisor 3.0b1. Maybe update your supervisor?

Leave a comment