Stopping a uwsgi service takes 90s
Bug #1724497 reported by
Thomas Herve
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Invalid
|
Undecided
|
Thomas Herve |
Bug Description
On master devstack, I run heat with uwsgi:
$ time sudo systemctl stop <email address hidden>
real 1m30.080s
user 0m0.017s
sys 0m0.027s
In the journal:
systemd[1]: <email address hidden>: State 'stop-sigterm' timed out. Killing.
systemd[1]: <email address hidden>: Killing process 3126 (uwsgi) with signal SIGKILL
I'm running fedora 25 with systemd 231, uwsgi 2.0.15
To post a comment you must log in.
I found the issue with the die-on-term option.
die-on-term was initially introduced here: https:/ /review. openstack. org/#/c/ 291742/ but I think it was before we started using systemd, so there may be something broken here. We removed exit-on-reload already, and the option appears deprecated.