mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 20:41:46 +00:00
This results in a brief service interruption (not a graceful restart), but fixes a bug where on a `supervisorctl restart zulip-django`, we'd end up leaking a bunch of uwsgi processes. The mechanism was that sending SIGHUP to uwsgi was a command for it to gracefully restart, so it'd start doing that (whereas supervisor expected it to be dying)... and then supervisor would start up the new uwsgi process group, resulting in 2 uwsgi process groups running. This, in turn, led to a memory leak that could eventually result in OOM kills.