On 30/09/2022 11:21 pm, Laurent Bercot wrote:
A service that keeps crashing is an abnormal condition
Yes - sometimes that's what villains like to do :)
Note that I don't think making the restart delay configurable is a good
trade-off. It adds complexity, size and failure cases to the s6-sup
To me this seems like a relevant improvement that would catch a problematic
edge case issue.
I pushed such a change to the s6 git. A new numbered release should
be cut soon-ish.
--
Laurent
Den 30.09.2022 15:21, skrev Laurent Bercot:
There is, however, one improvement I think I can safely make.
Currently, the 1-second delay is computed from when the service
*starts*:
if it has been running for more than one second, and crashes, it restarts
immediately, even if it has only been b
I feel like this whole thread comes from mismatched expectations of
how s6 should behave.
s6 always waits for one second before two successive starts of a
service. This ensures it never hogs the CPU by spamming a crashing
service. (With an asterisk, see below.)
It does not wait for one seco
On Mon, 26 Sep 2022 23:00:48 +
Colin Booth wrote:
> On Thu, Sep 22, 2022 at 01:21:46PM -0700, John W Higgins wrote:
> > run_my_crashing_app || sleep 10
> >
> > Work? The run script will sit there for 10 seconds if your app
> > fails. Not built in - but should accomplish the task pretty easil
On Thu, Sep 22, 2022 at 01:21:46PM -0700, John W Higgins wrote:
> Good Day,
>
> On Thu, Sep 22, 2022 at 1:13 PM Tor Rune Skoglund wrote:
> ...
>
> > 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
>
On Thu, 22 Sep 2022 13:21:46 -0700
John W Higgins wrote:
> Good Day,
>
> On Thu, Sep 22, 2022 at 1:13 PM Tor Rune Skoglund
> wrote: ...
>
> > 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 doi
John W Higgins writes:
> Good Day,
>
> On Thu, Sep 22, 2022 at 1:13 PM Tor Rune Skoglund wrote:
> ...
>
>> 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?
>>
>>
> Does something
Hello,
Den 22.09.2022 22:21, skrev John W Higgins:
On Thu, Sep 22, 2022 at 1:13 PM Tor Rune Skoglund wrote:
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?
Does something as simple
Good Day,
On Thu, Sep 22, 2022 at 1:13 PM Tor Rune Skoglund wrote:
...
> 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?
>
>
Does something as simple as changing your run script to
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
11 matches
Mail list logo