On 12/28/21 3:51 PM, David Newman wrote:
On 12/28/21 1:20 PM, Mark Sapiro wrote:
If so, try adding
KillSignal=SIGQUIT
to the Service section and see if that fixes it.
root@myhost:/etc/mailman3# time systemctl restart mailmanweb
real 0m1.026s user 0m0.008s sys 0m0.004s
My limited understanding of SIGQUIT is that it dumps core, but 'find / -type f -name '*.core' did not return any core dumps from this event.
Actually, SIGINT is probably better, but they should be equivalent. See https://uwsgi-docs.readthedocs.io/en/latest/Management.html#signals-for-cont... and https://uwsgi-docs.readthedocs.io/en/latest/Management.html#stopping-the-ser...
I'll update the doc.
Still unsure why the service hung on stop, but thanks!
It hung on stop because systemd wasn't told how to stop uwsgi so it sent a SIGTERM which doesn't stop it.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan