Merge ~bjornt/maas:bug-1867182-2.7 into maas:2.7
Proposed by
Björn Tillenius
Status: | Merged |
---|---|
Approved by: | Björn Tillenius |
Approved revision: | a886b180fea570ba93a2f6652f40c9c6edee785c |
Merge reported by: | MAAS Lander |
Merged at revision: | not available |
Proposed branch: | ~bjornt/maas:bug-1867182-2.7 |
Merge into: | maas:2.7 |
Diff against target: |
13 lines (+1/-1) 1 file modified
src/provisioningserver/utils/service_monitor.py (+1/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Björn Tillenius | Approve | ||
Review via email: mp+381100@code.launchpad.net |
Commit message
LPP: #1867182 - When under load, MAAS snap keeps restarting services
Increase the timeout waiting for the the start/restart/
commands.
What happened before was that the start/restart command timed out, and
was re-executed. This served only to worsen the situation, since the
timeout stayed the same.
Given that the reason for having a timeout is to prevent a command from
hanging indefinitely, it's ok to have quite a high timeout. Having a
command hang completely is unlikely, and it's even more unlikely that a
retry will resolve the issue.
(cherry picked from commit 94b4fa43d5d0b0f
To post a comment you must log in.
Self-approve backport.