[smokeping-users] Re: How to increase probe timeout for curl?
Marc Haber
mh+smokeping-users at zugschlus.de
Wed Jul 27 14:00:46 MEST 2005
Hi Niko,
On Wed, Jul 27, 2005 at 02:29:36PM +0300, Niko Tyni wrote:
> On Wed, Jul 20, 2005 at 03:42:17PM +0200, Marc Haber wrote:
> > I am using Curl to test the presence of web servers on application
> > level. Some of them are rather slow, frequently taking more than 4
> > seconds to deliver the page. However, the probe gets itself killed
> > frequently, ("Curl: www.example: timeout (100 s) reached, killing the
> > probe.").
> >
> > How do I increase this timeout?
>
> setting the 'timeout' variable in the Probes section to something bigger
> than 5 (the default maximum time for one ping) should help:
>
> *** Probes ***
>
> + Curl
>
> binary = /usr/bin/curl
> timeout = 7
>
>
> The 100 s in your example is this timeout multiplied by 20 (the # of
> pings in the Database section) .
Actually, the multiplication doesn't take place, so setting the
timeout = 10 resulted in the probe being killed after 10 seconds
instead of the default 100. Setting the timeout to 150 seems to have
had the desired effect.
Can the Curl timeout be set on a per-target base?
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/smokeping-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the smokeping-users
mailing list