FS#36743 - [uwsgi] uwsgi@.service SIGTERMs when stopping, which does not kill uwsgi
Attached to Project:
Community Packages
Opened by Chris Warrick (Kwpolska) - Friday, 30 August 2013, 18:26 GMT
Last edited by Daniel Wallace (gtmanfred) - Monday, 09 September 2013, 01:57 GMT
Opened by Chris Warrick (Kwpolska) - Friday, 30 August 2013, 18:26 GMT
Last edited by Daniel Wallace (gtmanfred) - Monday, 09 September 2013, 01:57 GMT
|
Details
Description:
From uwsgi docs <http://uwsgi-docs.readthedocs.org/en/latest/ThingsToKnow.html>: By default sending the SIGTERM signal to uWSGI means “brutally reload the stack” while the convention is to shut an application down on SIGTERM. To shutdown uWSGI use SIGINT or SIGQUIT instead. If you absolutely can not live with uWSGI being so disrespectful towards SIGTERM, by all means enable the die-on-term option. Additional info: * package version(s) * config and/or log files etc. uwsgi 1.9.14-3, nothing special in the config. Steps to reproduce: 1. create a config file for uwsgi and start the service. 2. try to stop the service. Intended behavior: near-instant stop. Actual behavior: uwsgi reloads (as stated by the docs), later it gets killed by SIGTERM when a timeout occurs. A patch has been included to fix this behavior. |
This task depends upon
Closed by Daniel Wallace (gtmanfred)
Monday, 09 September 2013, 01:57 GMT
Reason for closing: Implemented
Additional comments about closing: 1.9.15
Monday, 09 September 2013, 01:57 GMT
Reason for closing: Implemented
Additional comments about closing: 1.9.15
uwsgi-sigquit.patch