Update systemd service for longer TimeoutStopSec
This patch updates the default systemd service definition for the Octavia processes. It increases the TimeoutStopSec to 300 seconds to allow more time for the in-flight flows (failover, etc.) to finish and gracefully shutdown. If the cloud has performance issues, flows may run beyond their normal sub-minute runtime. Change-Id: I5708c05db2c9f13491f5af0cd0b8c5632c537608 (cherry picked from commit b1d02c6ba90dbeed2e564afcf886f29b8b37e51c)
This commit is contained in:
parent
c4cdbc5f36
commit
06389a51e9
@ -17,7 +17,12 @@ ExecStart={{ octavia_bin }}/{{ item.value.service_name }} {{ item.value.program_
|
||||
{% endif %}
|
||||
|
||||
# Give a reasonable amount of time for the server to start up/shut down
|
||||
TimeoutSec=120
|
||||
TimeoutStartSec=120
|
||||
# Give extra time for shutdown to allow flows to finish (failover, etc.)
|
||||
# This timer expiring early can lead to load balancers stuck in PENDING_*
|
||||
# states as the flows were interrupted before completing.
|
||||
# This setting depends on the performance of your cloud.
|
||||
TimeoutStopSec=300
|
||||
Restart=on-failure
|
||||
RestartSec=2
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user