option httpchk timeout

2010-08-25 Thread Jack Stahl
Hello,

I'm interested in extending the timeout for my httpchk to be longer than 2s
(to, say, 10s). I may be blind, but I wasn't able to find an option in the
configuration manual here:
http://haproxy.1wt.eu/download/1.4/doc/configuration.txt . Is this possible?

Here's the string I'm currently using to configure httpchk:
  option httpchk GET /ping?profiler HTTP/1.1\r\nHost:\
haproxypinghost\r\nAccept:\ */

Thanks,
Jack


Re: option httpchk timeout

2010-08-25 Thread Cyril Bonté
Hi,

Le jeudi 26 août 2010 01:22:27, Jack Stahl a écrit :
 Hello,
 
 I'm interested in extending the timeout for my httpchk to be longer than 2s

This means you're using inter 2s on your backends, right ?

 (to, say, 10s). I may be blind, but I wasn't able to find an option in the
 configuration manual here:
 http://haproxy.1wt.eu/download/1.4/doc/configuration.txt . Is this
 possible?

You can have a look on timeout check :
timeout check 10s

Also, read the configuration manual to see the effect of timeout connect and 
inter when timeout check is set.

--
Cyril Bonté