supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* Option for runsv/runsvdir to specify how many times to restart a service in a certain time period before giving up?
@ 2006-10-28 19:26 Alex Smith
  2006-10-30 10:49 ` Alex Efros
  0 siblings, 1 reply; 20+ messages in thread
From: Alex Smith @ 2006-10-28 19:26 UTC (permalink / raw)


Hi all,

Is it possible to add an option to runsv which specifies how many times 
runsv should try to restart a service in a certain time period before 
stopping for say, 5 minutes? An example of what I mean - if runsv has to 
be restarted more than 10 times in 10 seconds, then just idle for 5 
minutes before trying again. Otherwise you'd get lots of system 
resources being taken up by constant attempts to restart it, when it's 
totally obvious that it's not gonna work - if you see what I mean :-)

Also, if this was implemented, there should be an option for runsvdir 
that specifies this too, which would just be passed on to each runsv 
proces that it spawns.

Is this a good idea? Or not?

Thanks!
Alex

-- 
Alex Smith
Frugalware Linux developer - http://www.frugalware.org


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

end of thread, other threads:[~2006-11-01 12:17 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-28 19:26 Option for runsv/runsvdir to specify how many times to restart a service in a certain time period before giving up? Alex Smith
2006-10-30 10:49 ` Alex Efros
2006-10-30 10:50   ` Alex Efros
2006-10-30 12:13   ` Dražen Kačar
2006-10-30 12:30     ` Alex Efros
2006-10-30 13:38       ` Laurent Bercot
2006-10-30 13:42         ` Alex Efros
2006-10-30 13:58           ` Laurent Bercot
2006-10-30 14:24             ` Alex Efros
2006-10-30 14:51             ` Charlie Brady
2006-10-31  0:48               ` Laurent Bercot
2006-10-30 18:49         ` Vincent Danen
2006-10-30 21:28           ` Alex Efros
2006-10-30 21:30             ` Vincent Danen
2006-10-30 17:52       ` Alex Smith
2006-10-30 21:41         ` Alex Efros
2006-11-01 12:01           ` Gerrit Pape
2006-11-01 12:17             ` Alex Efros
2006-10-30 18:49       ` Dražen Kačar
2006-10-30 22:03         ` Alex Efros

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