supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Gerrit Pape <pape@smarden.org>
Subject: Re: Respawn limit for runsv?
Date: Sun, 13 Feb 2005 13:48:44 +0000	[thread overview]
Message-ID: <20050213134736.14448.qmail@d8e68f84add864.315fe32.mid.smarden.org> (raw)
In-Reply-To: <pan.2005.02.12.05.21.19.402644@spamcop.net>

On Fri, Feb 11, 2005 at 11:21:20PM -0600, Charles Duffy wrote:
> On Fri, 11 Feb 2005 22:13:43 -0500, Charlie Brady wrote:
> > You say that respawning software is a reasonably common problem. Whenever
> > I've seen it, it was a configuration problem. Or rather, there was a
> > configuration problem, and the respawning was a symptom. I didn't see the
> > respawning as a problem. The automated respawning is a feature.
> 
> Certainly, when it occurs, it's a symptom of a larger problem. That's not
> to say that it wouldn't be useful to have more configurable respawning --
> ranging from the simple "no more than N times in M minutes" to backoff
> algorithms akin to those used for TCP.
> 
> Putting these more complex algorithms into runit, I agree, isn't
> necessarily appropriate -- but that's why he mentioned having a second
> process responsible for implementing them.

I also think a separate program is appropriate for such special
services.  Another solution to the problem with log messages getting
out-rotated is to have the startup and failing messages of the service
written to a different log directory maintained by the same svlogd
service.

Regards, Gerrit.


  parent reply	other threads:[~2005-02-13 13:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-11 12:56 Lars Kellogg-Stedman
2005-02-12  0:14 ` Charlie Brady
2005-02-12  1:14   ` Lars Kellogg-Stedman
2005-02-12  3:13     ` Charlie Brady
2005-02-12  5:21       ` Charles Duffy
2005-02-12 13:04         ` Lars Kellogg-Stedman
2005-02-13 18:42           ` Charlie Brady
2005-02-13 21:21             ` Thomas Schwinge
2005-02-13 13:48         ` Gerrit Pape [this message]
2005-02-13 18:19           ` Lars Kellogg-Stedman
2005-02-14 16:23             ` Clemens Fischer
2005-02-13  3:59     ` Lars Kellogg-Stedman

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=20050213134736.14448.qmail@d8e68f84add864.315fe32.mid.smarden.org \
    --to=pape@smarden.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).