Stopping a uwsgi service takes 90s

Bug #1724497 reported by Thomas Herve
6
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

Revision history for this message
Thomas Herve (therve) wrote :

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.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (master)

Fix proposed to branch: master
Review: https://review.openstack.org/512980

Changed in devstack:
assignee: nobody → Thomas Herve (therve)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on devstack (master)

Change abandoned by Thomas Herve (<email address hidden>) on branch: master
Review: https://review.openstack.org/512980

Revision history for this message
Dr. Jens Harbott (j-harbott) wrote :

So does this issue still exist or has it been resolved in the meantime?

Changed in devstack:
status: In Progress → Incomplete
Revision history for this message
Thomas Herve (therve) wrote :

Seems like it works on f26.

Changed in devstack:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.