Re: option redir and latest snapshot

From: Willy Tarreau <w#1wt.eu>
Date: Fri, 15 Feb 2008 10:51:54 +0100


On Fri, Feb 15, 2008 at 10:45:24AM +0100, florian iragne wrote:
> global
> log 127.0.0.1 local0 notice
> maxconn 32000
> ulimit-n 65536

BTW, you normally don't have to set ulimit-n anymore since haproxy knows how to compute it from maxconn and the rest.

> defaults
> log global
> mode http
> option httplog
> option dontlognull
> retries 3
> option redispatch
> contimeout 5000
> clitimeout 50000
> srvtimeout 50000
 

OK, that's plain standard.

> listen webfarm-1 :80
> maxconn 32000
> log global
> stats enable
> stats auth toto:toto
> balance
> option httpclose
> option forwardfor
> option httpchk
> option abortonclose
> option httplog
> option logasap

here too.

> adding the timeout connect/check seems to solve the problem

Cool. I'm currently fixing this. Unfortunately, timeouts are the kind of things which can easily pass through the non-regression tests due to time races, as you might have noticed :-(

Regards,
Willy Received on 2008/02/15 10:51

This archive was generated by hypermail 2.2.0 : 2008/02/15 11:01 CET