diff options
| author | Andrew Geissler <geissonator@yahoo.com> | 2018-09-17 18:36:08 +0300 |
|---|---|---|
| committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-09-24 14:43:49 +0300 |
| commit | 0ee690fcb712718ca7ad179ec1a29a9803c80ed6 (patch) | |
| tree | caad817235ecb34529d49913fa0c599b42baaafb /meta-openembedded/meta-python/recipes-devtools/python/python-ndg-httpsclient.inc | |
| parent | edb619229fb988cd72a919e4068d820c632a7f5e (diff) | |
| download | openbmc-0ee690fcb712718ca7ad179ec1a29a9803c80ed6.tar.xz | |
Increase StartLimitIntervalSec to 240s
The DefaultTimeoutStartSec is 90s. If a service is hitting
this timeout repeatedly then the StartLimitIntervalSec needs
to be set in a way to handle this worse case scenario so
that the service which is timing out does not continuously
get restarted.
This means it needs to be set to:
StartLimitBurst*DefaultTimeoutStartSec +
StartLimitBurst*<worst case processing time> (30s)
which currently would be 2x90 + 2x30
Ref: systemd-system.conf
Tested: Verified that if 90s timeout is hit in service that
it is no longer restarted after 2 attempts.
Resolves openbmc/openbmc#3379
(From meta-phosphor rev: ee52526c80eaca65a581c01bcf703861ec1a80b6)
Change-Id: I8ff4febeb46a746dd3e5e625c5bdc3735963799b
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python-ndg-httpsclient.inc')
0 files changed, 0 insertions, 0 deletions
