{"action":"created","issue":{"url":"https://api.github.com/repos/Supervisor/supervisor/issues/48","labels_url":"https://api.github.com/repos/Supervisor/supervisor/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/Supervisor/supervisor/issues/48/comments","events_url":"https://api.github.com/repos/Supervisor/supervisor/issues/48/events","html_url":"https://github.com/Supervisor/supervisor/issues/48","id":2187217,"number":48,"title":"Running `supervisorctl restart <name>` causes xmlrpclib.Fault","user":{"login":"ojii","id":141122,"avatar_url":"https://avatars.githubusercontent.com/u/141122?v=3","gravatar_id":"","url":"https://api.github.com/users/ojii","html_url":"https://github.com/ojii","followers_url":"https://api.github.com/users/ojii/followers","following_url":"https://api.github.com/users/ojii/following{/other_user}","gists_url":"https://api.github.com/users/ojii/gists{/gist_id}","starred_url":"https://api.github.com/users/ojii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojii/subscriptions","organizations_url":"https://api.github.com/users/ojii/orgs","repos_url":"https://api.github.com/users/ojii/repos","events_url":"https://api.github.com/users/ojii/events{/privacy}","received_events_url":"https://api.github.com/users/ojii/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Supervisor/supervisor/labels/supervisorctl","name":"supervisorctl","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2011-11-09T15:30:21Z","updated_at":"2015-07-22T20:46:42Z","closed_at":null,"body":"Sometimes (for some reason not all the time), running `sudo supervisorctl restart someservice` returns:\r\n\r\n    <class 'xmlrpclib.Fault'>, <Fault 6: 'SHUTDOWN_STATE'>: file: /usr/lib/python2.6/xmlrpclib.py line: 838\r\n\r\nIn some odd cases this kills supervisord completely, printing \"unix:///var/run/supervisor.sock no such file\" whenever I run a command in `supervisorctl` manually. `/etc/init.d/supervisor restart` won't fix it, rather I need `/etc/init.d/supervisor stop && /etc/init.d/supervisor start` to get it back running.\r\n\r\nI'm using supervisor 3.0a8 on Ubuntu 10.04.3 LTS (Kernel 2.6.32-21-server) 64bit.\r\n\r\nAny idea how i can make the restart command not kill my supervisor and actually work?"},"comment":{"url":"https://api.github.com/repos/Supervisor/supervisor/issues/comments/123856791","html_url":"https://github.com/Supervisor/supervisor/issues/48#issuecomment-123856791","issue_url":"https://api.github.com/repos/Supervisor/supervisor/issues/48","id":123856791,"user":{"login":"mnaberez","id":52712,"avatar_url":"https://avatars.githubusercontent.com/u/52712?v=3","gravatar_id":"","url":"https://api.github.com/users/mnaberez","html_url":"https://github.com/mnaberez","followers_url":"https://api.github.com/users/mnaberez/followers","following_url":"https://api.github.com/users/mnaberez/following{/other_user}","gists_url":"https://api.github.com/users/mnaberez/gists{/gist_id}","starred_url":"https://api.github.com/users/mnaberez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnaberez/subscriptions","organizations_url":"https://api.github.com/users/mnaberez/orgs","repos_url":"https://api.github.com/users/mnaberez/repos","events_url":"https://api.github.com/users/mnaberez/events{/privacy}","received_events_url":"https://api.github.com/users/mnaberez/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T20:46:41Z","updated_at":"2015-07-22T20:46:41Z","body":"It's already there.  If supervisord is blocking waiting for processes to die, it prints \"waiting for processname to die\" in the log at regular intervals.  "}}