Skip to content

$ cat supervisor-error-file-usrlibpython38xmlrpcclientpy-line-655.md

Supervisor error: , : file: /usr/lib/python3.8/xmlrpc/client.py line: 655

Explains why Supervisor throws a SHUTDOWN_STATE fault from xmlrpc client.py while it is still shutting down, and how to force a restart by killing the supervisord process and starting it again with supervisord and supervisorctl.

guywarner.dev15 Aug 2023 · 1 min read · summary
Read on www.guywarner.dev ↗
When Supervisor crashes and presents the error: error: <class 'xmlrpc.client.Fault'>, <Fault 6: 'SHUTDOWN_STATE'>: file: /usr/lib/python3.8/xmlrpc/client.py line: 655 The service is attempting to shut down and usually will eventually. If you need to restart it instantly, do the following: Get the main pid for the supervisor process: ps -aux|grep supervisor Copy the pid and kill it: kill -9 paste_pid Then restart the services: supervisord supervisorctl

source

This is a summary of an article first published by guywarner.dev. The full piece is on their site.

Open original