Auteur: Jaromil Date: À: dng Sujet: Re: [DNG] [announce] s6-rc,
a s6-based service manager for Unix systems
On Fri, 25 Sep 2015, Simon Hobson wrote:
> KatolaZ <katolaz@???> wrote:
>
> > Just please try to avoid falling in the same "everybody needs to
> > boot-up in 12 seconds because high availability requires so"
> > rhetoric championed by systemd-fanboys.
>
> More to the point, I'd rather have reliability over speed any day. If
> the system boots reliably in 2 minutes vs "less deterministically" in
> one then I'll take the 2 minutes.
Agreed, not joining the rethoric. Actually I don't care much about boot
times, since in my case if the person restarts the device then it can
well wait 2-5m and tell everyone in the house he/she is doing that. Of
course this is a corner case to avoid, but people do that :^) and I even
recommend doing it as part of basic troubleshooting in absence of
sysadmin.
What I'm particularly interested is something to do process monitoring
and respawning for a certain group of daemons - bundle in s6-rc? however
not necessarily mixed with the system-wide base daemons. For instance
in Dowse's current proof-of-concept it happens (very seldom, once every
2 months, yet it does) that squid segfaults. I wish to have something
that is not a lousy shell-script (and of course not a monster of
office-suite dimensions taking over the whole setup) to notice the
crash, save the logs aside and restart the daemon - and fast. Even when
we start rewriting the whole POC to an application, I'd love to have
this as a safety net, because certain bugs are really hard to reproduce
and in the meantime one needs to have the box circumvent them or even
adapt to them by changing its own configuration.
It has been since the times of Icecast1 (pre-kh) that I need something
like that, been using restartd for a quick setup, but it does not handle
dependencies.. now wondering if s6-rc does it.
In general I'd be incline to use s6 more because the whole suite Laurent
is developing seems very minimal and... no-bullshit (Gandi's tm)