Re: Set balance cookie domain dynamically

2011-09-08 Thread Willy Tarreau
Hi, On Thu, Sep 01, 2011 at 01:40:22PM +1000, Leigh Dyer wrote: We allow our users to create their own custom domains, so it's several thousand domains at the moment. We don't have to worry about subdomains on those custom domains, though, so I could probably use one backend for our

Re: httpclose/forceclose and TCP states

2011-09-08 Thread Willy Tarreau
On Thu, Sep 01, 2011 at 09:04:41PM -0400, Chris Burroughs wrote: I'm trying to figure out what exactly the httpclose/forceclose is doing when it forces the closing of the outgoing server channel as soon as the server begins to reply and only if the request buffer is empty. Is it sending a

Re: httpclose/forceclose and TCP states

2011-09-08 Thread Willy Tarreau
On Tue, Sep 06, 2011 at 07:01:44PM -0400, Chris Burroughs wrote: On 09/01/2011 09:04 PM, Chris Burroughs wrote: I've looked at the source code and I think that's what's going on, but it has been a while since I've read C networking code. If someone is in a particularly explanatory mood,

[PATCH v2] *_dom matching header functions now also split on :

2011-09-08 Thread Finn Arne Gangstad
*_dom is mostly used for matching Host headers, and host headers may include port numbers. To avoid having to create multiple rules with and without :port-number in hdr_dom rules, change the *_dom matching functions to also handle : as a delimiter. Typically there are rules like this in

Error 504

2011-09-08 Thread Christophe Rahier
Hi, I've a question about this error : 504 Gateway Time-out The server didn't respond in time. What could I check in my config ? I created 2 LB with a virtual IP and all request are coming from the firewall to this IP. I think it's possible, if needed, I can copy my configuration file. Thanks

Re: Error 504

2011-09-08 Thread Baptiste
Hello, you server might be very slow or your server timeout in your conf might be too low. If you can copy/paste your conf and tell us which version you're using and the underlying OS. cheers On Thu, Sep 8, 2011 at 1:35 PM, Christophe Rahier christo...@qualifio.com wrote: Hi, I've a

Re: [PATCH] Read acl included files relative to the configuration file

2011-09-08 Thread Brane F. Gračnar
On Thursday 08 of September 2011 11:21:34 Finn Arne Gangstad wrote: On Thu, Sep 08, 2011 at 07:43:46AM +0200, Willy Tarreau wrote: Hi again, This morning I had an better idea : pass the config directory parameter on the command line and have haproxy chdir() to it. That way, everything

Re: Error 504

2011-09-08 Thread Christophe Rahier
Hi, Here's my config. Webservers are IIS. global log 192.168.0.2 local0 log 127.0.0.1 local1 notice maxconn 10240 defaults logglobal option dontlognull retries2 clitimeout 5 srvtimeout 5 contimeout 5 timeout server 60s listen WebPlayer-Farm 192.168.0.2:80 mode http

(in)sanity check on hdr_cnt

2011-09-08 Thread Hank A. Paulson
does hdr_cnt not work or am I just completely unable to get an example that works? I can't imagine it doesn't work but I have tried _many_ - some examples and nothing seems to work (maybe it is 40+ hrs): acl hdrcnttest hdr_cnt gt 0 reqadd x-has-host:\ YES if hdrcnttest acl hdrcnttest

Deadwood: The Complete Series on DVD or Blu-ray

2011-09-08 Thread store-news
Please click here if the e-mail below is not displayed correctly. Follow us: Free Two-Day Shipping with Amazon Prime Your Amazon.com Today's Deals See All

Re: Error 504

2011-09-08 Thread Baptiste
I can't see anything weird here. are the backend status OK on the haproxy http stat page? cheers On Thu, Sep 8, 2011 at 2:28 PM, Christophe Rahier christo...@qualifio.com wrote: Hi, Here's my config. Webservers are IIS. global log 192.168.0.2 local0 log 127.0.0.1 local1 notice maxconn    

Re: Error 504

2011-09-08 Thread Christophe Rahier
Yes ... Is it possible to improve my config? Le 08/09/11 15:50, « Baptiste » bed...@gmail.com a écrit : I can't see anything weird here. are the backend status OK on the haproxy http stat page? cheers On Thu, Sep 8, 2011 at 2:28 PM, Christophe Rahier christo...@qualifio.com wrote: Hi,

Can HAProxy behave like NginX with option proxy_next_upstream?

2011-09-08 Thread Ernesto Rodriguez Reina
Hi Everyone! We move from nginx to haproxy for load balancing and all have been great! All we do with nginx (as balancer) we have been able to do it using haproxy, except for reprocessing a request on http error 5* from upstream servers as we did with nginx using option proxy_next_upstream. Is

Re: Increase log size in config.

2011-09-08 Thread Damien Hardy
Hi Graeme, You are rigth so maybe it could be great that haproxy could log the full entry by other way than syslog Using the Unix socket allready existing could be tailed by any external program I suppose, and shouldn't be limited by a 1024 string maybe. Regards, -- Damien 2011/9/8 Graeme

Re: Increase log size in config.

2011-09-08 Thread Damien Hardy
By the way, haproxy could be configured with default max size at 1024 and if we want to increase it by config it may be available (as long as we are not using a real syslog server). My concern is about network device with UDP frame bigger than 1024 if anybody is aware of potential probleme that

Re: New benchmark of HAProxy at 10 Gbps using Myricom's 10GbE NICs possible?

2011-09-08 Thread Aleksandar Lazic
On Don 08.09.2011 07:51, Willy Tarreau wrote: Hi Aleks, On Thu, Sep 08, 2011 at 12:52:20AM +0200, Aleksandar Lazic wrote: Hi Willy, I have take a look about the last test on http://haproxy.1wt.eu/10g.html and thought it would be nice to see a test with the brand new 1.5 version. What do

Re: (in)sanity check on hdr_cnt

2011-09-08 Thread Hank A. Paulson
Whether I have the rules in the backend or the front does not seem to make a difference - I tried some rules in front and back and neither worked. Maybe I am missing something obvious. Thanks. Example with config: [haproxy]# wget -S -O - http://10.1.1.251:82/blank.gif --2011-09-08 19:00:59--