From: Tor Rune Skoglund <trs@fourc.eu>
To: supervision@list.skarnet.org
Subject: "Back off" setting for crashing services with s6+openrc?
Date: Thu, 22 Sep 2022 21:45:14 +0200 [thread overview]
Message-ID: <76856b27-1653-4e3c-28a5-737b63dea1f0@fourc.eu> (raw)
Hello List,
I am new to the list, so sorry if this question has been raised before.
However, I've made an honest attempt to figure this out before posting
here now.
I am using s6 with openrc on Gentoo and are using a couple of custom
made services which are fully stable under some conditions; i.e. they
simple crash and stop continuesly sometimes, which causes s6 to
instantly restart them --- with a high cpu-usage
crash-restart-crash-restart... loop as result.
Of course, the correct thing would be to fix the crashing service, but
it is not a possible option right now.
As a generic question, is there any setting with this s6+openrc config
that would make s6 "back off" a configurable number of seconds before
doing the restart?
Any help appreciated. Thanks.
BR, Tor Rune Skoglund, trs@fourc.eu
next reply other threads:[~2022-09-22 19:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-22 19:45 Tor Rune Skoglund [this message]
2022-09-22 20:21 ` John W Higgins
2022-09-23 7:29 ` Tor Rune Skoglund
2022-09-23 16:44 ` Alyssa Ross
2022-09-24 12:33 ` Oliver Schad
2022-09-26 23:00 ` Colin Booth
2022-09-30 9:34 ` Oliver Schad
2022-09-30 13:21 ` Laurent Bercot
2022-10-04 14:16 ` Tor Rune Skoglund
2022-10-10 16:20 ` Laurent Bercot
2022-10-11 0:38 ` Dewayne
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=76856b27-1653-4e3c-28a5-737b63dea1f0@fourc.eu \
--to=trs@fourc.eu \
--cc=supervision@list.skarnet.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).