You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Long term reliability, supervisor.sock no such file #1723
After running supervisord for months then trying to get status it fails to get status.
Happens like every few months.
sudo supervisorctl status
unix:///tmp/supervisor.sock no such file
user@debian:/$ uptime
12:14:26 up 259 days, 13:09, 3 users, load average: 0.09, 0.07, 0.03
user@debian:/$ sudo service supervisord restart
user@debian:/$ sudo supervisorctl status
xxx RUNNING pid 340636, uptime 0:02:44
....
Tasks still run in the background, only the status fails
Daemon restart fixes the issues. (but that also means it restarts tasks, which is not healthy)
I have plenty of space/free RAM
Other than this it works great for years now.
Maybe system clean up deletes unix:///tmp/supervisor.sock ?
[supervisorctl]
serverurl=/stuff/supervisor.sock
sudo supervisorctl status
error: <class 'ValueError'>, Unknown protocol for serverurl /stuff/supervisor.sock: file: /usr/local/lib/python3.13/dist-packages/supervisor/xmlrpc.py line: 505
They are plenty of people complaining about this #480
Why does it work after restarting the deamon?
Seems like something changes during long term run time.
And it's not only for me. Thus seems like a supervisord bug. (it loses unix:///tmp/supervisor.sock)
//why would I have to do chmod=0777 on internal files of a running program
using supervisor in /usr/local/lib/python3.13/dist-packages (4.3.0)
Some say
Confirmed. /tmp is a dangerous place for the supervisor.sock file:
[ec2-user@ip-172-31-1-160 ~]$ sudo supervisorctl
unix:///tmp/supervisor.sock no such file
The /etc is safer
but echo_supervisord_conf contains /tmp in example
Activity
mrx23dot commentedon Jul 25, 2026
In summary why does it work, and stop working after every few months until restarted?
Seems like a reliability/runtime issue.
jamespo commentedon Oct 14, 2026
If you want to change location of the socket
serverurl=/stuff/supervisor.sock
should be
serverurl=unix:///stuff/supervisor.sock
but why has your machine not had any kernel updates requiring reboot in >200 days?