supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Laurent Bercot <ska-supervision@skarnet.org>
To: supervision@list.skarnet.org
Subject: Re: pidsig 0.11 - a fghack like de-daemonisation tool
Date: Fri, 4 Jun 2010 20:43:28 +0200	[thread overview]
Message-ID: <20100604184328.GA21893@skarnet.org> (raw)
In-Reply-To: <Pine.LNX.4.64.1006041252280.18348@e-smith.charlieb.ott.istop.com>

> 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.

 If a branch of the supervision tree dies, the old subtree, including
leaves (i.e. services) is still alive. Manual admin intervention is
necessary to kill it off and recreate a new subtree, connected to init.
If there are any services with down files, but that need to be alive,
the admin can take care of them at that time.
 Now, if a service has a down file, and its supervisor dies, *and then*
the service dies too, then the service won't be restarted indeed; but
we're talking about a double failure, which should be uncommon.

 Nevertheless, down files are a decrease in reliability. They're practical
for test and manual intervention purposes, but I've never met a real-life
case where they are necessary. It's always possible to boot the machine
with a nearly-empty svscan directory and populate it during the later
initialization phases.

-- 
 Laurent


      parent reply	other threads:[~2010-06-04 18:43 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
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 [this message]

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=20100604184328.GA21893@skarnet.org \
    --to=ska-supervision@skarnet.org \
    --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).