From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1288 Path: news.gmane.org!not-for-mail From: =?iso-8859-2?Q?Dra=BEen_Ka=E8ar?= Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: Option for runsv/runsvdir to specify how many times to restart a service in a certain time period before giving up? Date: Mon, 30 Oct 2006 13:13:21 +0100 Message-ID: <20061030121321.GA27602@fly.srk.fer.hr> References: <4543AEE3.50200@alex-smith.me.uk> <20061030104923.GC32166@home.power> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1162210423 25531 80.91.229.2 (30 Oct 2006 12:13:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 30 Oct 2006 12:13:43 +0000 (UTC) Original-X-From: supervision-return-1524-gcsg-supervision=m.gmane.org@list.skarnet.org Mon Oct 30 13:13:35 2006 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1GeW16-0002JB-Cv for gcsg-supervision@gmane.org; Mon, 30 Oct 2006 13:13:24 +0100 Original-Received: (qmail 21195 invoked by uid 76); 30 Oct 2006 12:13:45 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 21189 invoked from network); 30 Oct 2006 12:13:45 -0000 Original-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <20061030104923.GC32166@home.power> X-Face: 'UIE}WabGB0+U>p-#(hp<_+AD2{H],=qR*jHfm$/e]l0(kU3oOYc5lqG6gg>[\h^IOc{'siD6#!T&loIShgmYHz3#+*D38:|`~\BE,(W~Ol9BDfDwk'lKJ;Z{sY8E9(ME.E]'wvNO`$n#,;9Z`tOFcW/nHZq!BOSrM>V?C<5DTw=<${c{M2V+|)0jSUl&!+8%8nIBF(u:E>SZWM^e User-Agent: Mutt/1.4i X-Attribution: Dave X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (fly.srk.fer.hr [127.0.0.1]); Mon, 30 Oct 2006 13:13:22 +0100 (MET) Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1288 Archived-At: Alex Efros wrote: > > On Sat, Oct 28, 2006 at 08:26:27PM +0100, Alex Smith wrote: > > Is this a good idea? Or not? > > I think - no, it's a bad idea. Such ideas just make software bloated. That kind of depends. > Your services MUST run all of time, that's why they called services. > If some service doesn't start - it's a big problem, and admin should be > notified about it urgently and fix it (maybe by disabling this service :)). Admin might not be available (admins have to sleep, after all). Besides, the problem might be out of admin's control. For example, a remote database (on which his service depends) doesn't work, or the network connectivity was lost or something like that. > Runit provide enough features to write such 'plugins' manually - you've > ./finish file in which you can check how often it's executed and do > something: stop service, sleep, or send sms to admin. Sure, but if something's a common need for a large group of users, then they call it a feature. Some of those who don't need such feature call it a bloat, but I don't think that's a valid argument. -- .-. .-. Yes, I am an agent of Satan, but my duties are largely (_ \ / _) ceremonial. | | dave@fly.srk.fer.hr