On Tue, 2021-12-28 at 13:07 -0800, David Newman wrote:
Debian 11.2, Mailman 3.3.5, Python 3.9.2, MariaDB 10.5.12-0+deb11u1
On a Debian system running MariaDB, mailman3 restarts quickly but mailmanweb takes about 90 seconds:
I get the same thing. Here's my log snippet:
Dec 28 16:18:41 emergenus systemd[1]: mailmanweb.service: State 'stop- sigterm' timed out. Killing. Dec 28 16:18:41 emergenus systemd[1]: mailmanweb.service: Killing process 3046 (uwsgi) with signal SIGKILL. Dec 28 16:18:41 emergenus systemd[1]: mailmanweb.service: Killing process 20439 (uwsgi) with signal SIGKILL. Dec 28 16:18:41 emergenus systemd[1]: mailmanweb.service: Killing process 20440 (uwsgi) with signal SIGKILL. Dec 28 16:18:41 emergenus systemd[1]: mailmanweb.service: Killing process 20442 (sh) with signal SIGKILL. Dec 28 16:18:41 emergenus systemd[1]: mailmanweb.service: Killing process 20444 (mailman-web) with signal SIGKILL. Dec 28 16:18:41 emergenus systemd[1]: mailmanweb.service: Killing process 20446 (mailman-web) with signal SIGKILL. Dec 28 16:18:41 emergenus systemd[1]: mailmanweb.service: Killing process 20447 (mailman-web) with signal SIGKILL. Dec 28 16:18:41 emergenus systemd[1]: mailmanweb.service: Killing process 20448 (mailman-web) with signal SIGKILL. Dec 28 16:18:41 emergenus systemd[1]: mailmanweb.service: Killing process 20449 (mailman-web) with signal SIGKILL. Dec 28 16:18:41 emergenus systemd[1]: mailmanweb.service: Killing process 20450 (mailman-web) with signal SIGKILL. Dec 28 16:18:41 emergenus systemd[1]: mailmanweb.service: Main process exited, code=killed, status=9/KILL Dec 28 16:18:41 emergenus systemd[1]: mailmanweb.service: Failed with result 'timeout'.
After it times out, it starts fine.
If I just stop the thing and then start it, it goes fast. Here's that log:
Dec 28 16:27:22 emergenus systemd[1]: Stopping GNU Mailing List Manager... Dec 28 16:27:24 emergenus mailman[23408]: Shutting down Mailman's master runner Dec 28 16:27:27 emergenus systemd[1]: mailman3.service: Succeeded. Dec 28 16:27:27 emergenus systemd[1]: Stopped GNU Mailing List Manager. Dec 28 16:27:27 emergenus systemd[1]: mailman3.service: Consumed 42.834s CPU time. Dec 28 16:27:27 emergenus systemd[1]: Starting GNU Mailing List Manager... Dec 28 16:27:29 emergenus kernel: [ 8076.868797] [UFW BLOCK] IN=eth0 OUT= MAC=00:16:3e:ef:72:96:00:23:9c:9e:9f:c0:08:00 SRC=92.63.197.108 DST=203.159.80.234 LEN=40 TOS=0x00 PREC=0x00 TTL=253 ID=58971 PROTO=TCP SPT=44610 DPT=21987 WINDOW=1024 RES=0x00 SYN URGP=0 Dec 28 16:27:29 emergenus mailman[23433]: Starting Mailman's master runner Dec 28 16:27:29 emergenus mailman[23433]: Generating MTA alias maps Dec 28 16:27:30 emergenus systemd[1]: mailman3.service: Can't open PID file /opt/mailman/mm/var/master.pid (yet?) after start: Operation not permitted
I don't know what's up with the pid thing -- it moves right on in about 1 second.
billo