how to recreate missing socket of running supervisord process

Viewed 703

It happens to me pretty often on different boxes that supervisord socket file disappears for some reason. Haven't investigated if this is because of bug or different reason, but I wonder if it's possible to recreate / reconnect to this socket handled by supervisord. Process is still running and I can see this

> lsof -c supervisord
COMMAND     PID USER   FD   TYPE             DEVICE  SIZE/OFF       NODE NAME
[...]
superviso 16886 root    3w   REG                9,1     85344    2753325 /var/log/supervisor/supervisord.log
superviso 16886 root    4u  unix 0xffff880059691800       0t0 3662006852 /var/tmp/supervisor.sock.16883
superviso 16886 root    5u  unix 0xffff88017c6f7c00       0t0 3661998412 socket
[...]

But /var/tmp/supervisor.sock.16883 file doesn't exist. Is there any way to recreate socket file handled by this supervisord process? I know I can restart supervisor but I'd like to avoid it

1 Answers
Related