From: Charlie Brady <charlieb-supervision@budge.apana.org.au>
To: Wayne Marshall <wcm@guinix.com>
Cc: supervision@list.skarnet.org
Subject: Re: pidsig 0.11 - a fghack like de-daemonisation tool
Date: Fri, 4 Jun 2010 12:54:46 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.64.1006041252280.18348@e-smith.charlieb.ott.istop.com> (raw)
In-Reply-To: <20100604162624.5a24e83c@slate.copperisle.com>
On Fri, 4 Jun 2010, Wayne Marshall wrote:
> On Thu, 3 Jun 2010 21:25:30 +0200
> Laurent Bercot <ska-supervision@skarnet.org> wrote:
>
> > > These kinds of problems are not that theoretical - just
> > > recently I saw svscan/svscanboot crashing on a >1y uptime
> > > box, taking many of the processes with it, including most of
> > > the supervise infrastructure, very likely not due to any
> > > fault in them - could be oom gone wild, cosmic rays hitting
> > > svscan memory, whatever).
> >
> > That's a typical case of "weak" supervision, as opposed to a
> > "strong" supervision chain. "Strong" supervision makes sure
> > that all the infrastructure is connected to init.
> >
> > * svscan achieves strong supervision *if* svscanboot is
> > flagged as "respawn" in /etc/inittab on System V-style inits,
> > in /etc/event.d/ with Upstart, or in /etc/gettys on BSD. It
> > does *not* achieve it if svscanboot is started via some
> > rc.local script (as the stock daemontools instructions tell
> > you to do, shame on DJB! :))
> > * perp is in the same boat, depending on how you start
> > perpboot.
> > ...
> > Strong supervision makes sure that your supervisor process
> > tree is *always* alive and complete, unless process 1 itself
> > crashes, in which case you're doomed to reboot anyway.
There is a weakness in this "strong supervision" model. Any service with a
'down' file will not be restarted if its supervise/runsv or
svscan/runsvdir is replaced.
next prev parent reply other threads:[~2010-06-04 16:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-02 6:08 Janos Farkas
2010-06-02 18:46 ` Laurent Bercot
2010-06-03 16:53 ` Janos Farkas
2010-06-03 19:25 ` Laurent Bercot
2010-06-04 16:26 ` Wayne Marshall
2010-06-04 16:54 ` Charlie Brady [this message]
2010-06-04 17:17 ` Wayne Marshall
2010-06-04 17:21 ` Charlie Brady
2010-06-04 20:00 ` Wayne Marshall
2010-06-04 18:43 ` Laurent Bercot
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=Pine.LNX.4.64.1006041252280.18348@e-smith.charlieb.ott.istop.com \
--to=charlieb-supervision@budge.apana.org.au \
--cc=supervision@list.skarnet.org \
--cc=wcm@guinix.com \
/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).