supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* Respawn limit for runsv?
@ 2005-02-11 12:56 Lars Kellogg-Stedman
  2005-02-12  0:14 ` Charlie Brady
  0 siblings, 1 reply; 12+ messages in thread
From: Lars Kellogg-Stedman @ 2005-02-11 12:56 UTC (permalink / raw)


Howdy,

Has anyone investigated adding some sort of respawn limiter to runit?  I 
figure that if a program is crashing immediately every time it runs, it 
probably doesn't need to be restarted -- which just floods the logs with 
error message, perhaps overwriting critical log data about what 
precipitated the problem in the first place.

I'm thinking of some sort of setting that will down a service if it dies 
more than m times in n seconds.  This would be controlled via a file in 
the service directory...maybe we can introduce a 'config' file, similar 
to what svlogd uses, to allow per-service configuration?

Alternatively, this could perhaps be farmed out to a wrapper program, so 
that a run script might look like:

  exec respawn_wrapper ...

Any thoughts?



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2005-02-14 16:23 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-11 12:56 Respawn limit for runsv? 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
2005-02-13 18:19           ` Lars Kellogg-Stedman
2005-02-14 16:23             ` Clemens Fischer
2005-02-13  3:59     ` Lars Kellogg-Stedman

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