From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1036 Path: news.gmane.org!not-for-mail From: Alex Efros Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: timeout chpst -L Date: Tue, 14 Feb 2006 13:30:09 +0200 Organization: asdfGroup Inc., http://powerman.asdfGroup.com/ Message-ID: <20060214113009.GO6585@home.power> 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> <20060214112106.9099.qmail@7d7a65a7e7aa60.315fe32.mid.smarden.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1139916619 2041 80.91.229.2 (14 Feb 2006 11:30:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Feb 2006 11:30:19 +0000 (UTC) Original-X-From: supervision-return-1272-gcsg-supervision=m.gmane.org@list.skarnet.org Tue Feb 14 12:30:18 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 1F8yNm-0002mz-Pd for gcsg-supervision@gmane.org; Tue, 14 Feb 2006 12:30:10 +0100 Original-Received: (qmail 15417 invoked by uid 76); 14 Feb 2006 11:30:32 -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 15411 invoked from network); 14 Feb 2006 11:30:31 -0000 Original-To: supervision@list.skarnet.org Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <20060214112106.9099.qmail@7d7a65a7e7aa60.315fe32.mid.smarden.org> User-Agent: Mutt/1.5.11 Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1036 Archived-At: Hi! On Tue, Feb 14, 2006 at 11:21:06AM +0000, Gerrit Pape wrote: > 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. Really? Then why below example don't exit after 3 seconds? $ time tryto -t 3 -n 5 bash -c 'echo trying...; sleep 2; false' trying... trying... trying... trying... trying... tryto: fatal: child crashed, giving up. real 0m14.039s user 0m0.000s sys 0m0.004s -- WBR, Alex.