From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1035 Path: news.gmane.org!not-for-mail From: Gerrit Pape Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: timeout chpst -L Date: Tue, 14 Feb 2006 11:21:06 +0000 Message-ID: <20060214112106.9099.qmail@7d7a65a7e7aa60.315fe32.mid.smarden.org> References: <20060213163054.GC2511@home.power> <20060213201807.GF6585@home.power> <20060214084509.24951.qmail@125e08fe97c020.315fe32.mid.smarden.org> <20060214102323.GL6585@home.power> <20060214103625.4267.qmail@65cebaedea5163.315fe32.mid.smarden.org> <20060214110159.GM6585@home.power> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1139916049 32333 80.91.229.2 (14 Feb 2006 11:20:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Feb 2006 11:20:49 +0000 (UTC) Original-X-From: supervision-return-1271-gcsg-supervision=m.gmane.org@list.skarnet.org Tue Feb 14 12:20:47 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 1F8yEg-0000pE-Fi for gcsg-supervision@gmane.org; Tue, 14 Feb 2006 12:20:46 +0100 Original-Received: (qmail 15228 invoked by uid 76); 14 Feb 2006 11:21:08 -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 15223 invoked from network); 14 Feb 2006 11:21:07 -0000 Original-To: supervision@list.skarnet.org Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <20060214110159.GM6585@home.power> Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1035 Archived-At: On Tue, Feb 14, 2006 at 01:01:59PM +0200, Alex Efros wrote: > One more question. If prog exit with non-zero return code, it will be > executed again (until number of tries reached). But if timeout happens > and it will be killed by TERM or KILL - it will not be restarted. Why? The timeout applies to tryto, not to the prog it runs. When the timeout is reached, tryto cleans up and exits as soon as possible, regardless how often prog has been tried. Regards, Gerrit.