Gunicorn

Old Gunicorn processes block Unix socket preventing restart

warning
Resource ContentionUpdated Nov 20, 2025(via Exa)
Technologies:
How to detect:

When restarting Gunicorn with multiple workers bound to a Unix socket, old processes can continue holding the socket preventing new instances from binding successfully

Recommended action:

Kill all existing Gunicorn processes with pkill gunicorn before starting new instances. Verify no processes remain with ps aux | grep gunicorn. Then start Gunicorn with desired worker count