Supervisor error: <class 'xmlrpc.client.Fault'>, <Fault 6: 'SHUTDOWN_STATE'>: file: /usr/lib/python3.8/xmlrpc/client.py line: 655

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