Add 10 second buffer for uwsgi service stop
Default for systemd TimeoutStopSec is 90 seconds and that is same for default graceful shutdown of uwsgi service(WORKER_TIMEOUT). Due to the Related-Bug graceful stop attempt fails and there is no room for force shutdown. This patch reduces default for WORKER_TIMEOUT by 10 seconds so there is a buffer to force stop the service. Closes-Bug: #2020643 Related-Bug: #2015065 Change-Id: I6aacac94f9697088338b3d2f99d8eaa22c2be67b
This commit is contained in:
parent
c152a409dd
commit
7288df34f8
2
stackrc
2
stackrc
@ -804,7 +804,7 @@ NOVA_READY_TIMEOUT=${NOVA_READY_TIMEOUT:-$SERVICE_TIMEOUT}
|
||||
SERVICE_GRACEFUL_SHUTDOWN_TIMEOUT=${SERVICE_GRACEFUL_SHUTDOWN_TIMEOUT:-5}
|
||||
|
||||
# Service graceful shutdown timeout
|
||||
WORKER_TIMEOUT=${WORKER_TIMEOUT:-90}
|
||||
WORKER_TIMEOUT=${WORKER_TIMEOUT:-80}
|
||||
|
||||
# Common Configuration
|
||||
# --------------------
|
||||
|
Loading…
Reference in New Issue
Block a user