On 5/18/19 7:35 AM, Alan So wrote:
The out runner process shutdown with the following error. Any clue?
May 16 17:32:12 2019 (31602) Uncaught runner exception: (pymysql.err.InternalError) (1053, 'Server shutdown in progress') ...
Mailman is running and the MySQL server is being shutdown.
If this occurred during shutdown of the entire server, it is a race condition due to the out runner continuing to process a message while the MySQL server is being shut down.
Upon restart, the out runner may recover the message from the .bak file in its queue.
To avoid this, you could stop Mailman and wait for all Mailman processes to terminate before shutting down/rebooting the server.
Note that if the message in process was shunted, the .bak file was probably removed during the shunting process, so you should unshunt it to finish delivery.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan