On 12/28/21 7:52 PM, Mark Sapiro wrote:
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,
SIGINT does fine:
root@myhost:/etc/systemd/system# time systemctl restart mailmanweb
real 0m1.024s user 0m0.009s sys 0m0.006s
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.
Thank you!
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.
Got it. Again, many thanks.
dn