Re: HAProxy Response time performance

2011-06-10 Thread Willy Tarreau
On Fri, Jun 10, 2011 at 07:00:40PM -0700, Matt Christiansen wrote: > Thats good to know, while 2000 concurrent connections what we do right > now, it will be closer to 10,000 concurrent connections come the > holiday season which is closer to 2.5 GB of ram (still less then whats > on the server). >

Re: HAProxy Response time performance

2011-06-10 Thread Matt Christiansen
Thats good to know, while 2000 concurrent connections what we do right now, it will be closer to 10,000 concurrent connections come the holiday season which is closer to 2.5 GB of ram (still less then whats on the server). One though I have is our requests can be very large at times (big headers,

Re: customizing 200 responses to monitor-uri

2011-06-10 Thread Matthew Bachmann
Fantastic! Thanks. -Matt On Thu, Jun 9, 2011 at 4:06 PM, Willy Tarreau wrote: > Hi Matt, > > On Thu, Jun 09, 2011 at 01:58:21PM -0400, Matthew Bachmann wrote: >> Haproxy lets me provide a static page that's returned when 503 and >> other error conditions are triggered.  With monitor-uri though,

Re: url_beg

2011-06-10 Thread Gerd Müller
same effect :( Gerd On 10.06.2011 15:29, rickytato rickytato wrote: > 2011/6/10 Gerd Müller > >> Hi list, >> >> I have a problem with url_beg. I am using it the following way: >> >> acl aclDEV url_beg /devel/ >> > With this? > > acl aclDEV url_beg /devel > > > rr >

Re: url_beg

2011-06-10 Thread rickytato rickytato
2011/6/10 Gerd Müller > Hi list, > > I have a problem with url_beg. I am using it the following way: > > acl aclDEV url_beg /devel/ > With this? acl aclDEV url_beg /devel rr

Re: url_beg

2011-06-10 Thread Willy Tarreau
On Fri, Jun 10, 2011 at 01:53:35PM +0200, Gerd Müller wrote: > Hi list, > > I have a problem with url_beg. I am using it the following way: > > acl aclDEV url_beg /devel/ > use_backend DEV if aclDEV > > The strange thing ist that it works for > > http://my.domain.com/devel/2011/ > > but not

Re: "transparent mode"

2011-06-10 Thread Willy Tarreau
Hi James, On Fri, Jun 10, 2011 at 04:20:15PM +0800, ?? wrote: > Hi Robert, > > You can develop a netfilter module to change src ipaddr from haproxy's > self ip to client ipaddr for backend servers. > > But this solution maybe decrease the whole performance of haproxy box > for about 20%. T

Re: Apache translates 500 to 502 from haproxy

2011-06-10 Thread Willy Tarreau
On Fri, Jun 10, 2011 at 04:41:08PM +0530, Manoj Kumar wrote: > Hi, > > We are forwarding specific requests from apache to haproxy which > interbally forwards it to a pool of cherry py servers. We have seen that > certain requests end up in 500 in haproxy and cherry py logs which is ok > and unders

[PATCH] [BUG] checks: fix support of Mysqld >= 5.5 for mysql-check

2011-06-10 Thread Herv� COMMOWICK
mysqld >= 5.5 want the client to announce 4.1+ authentication support, even if we have no password, so we do this. I also check on a debian potato mysqld 3.22 and it works too so i assume we are good from 3.22 to 5.5. --- doc/configuration.txt |2 +- src/cfgparse.c|1 + 2 files c

url_beg

2011-06-10 Thread Gerd Müller
Hi list, I have a problem with url_beg. I am using it the following way: acl aclDEV url_beg /devel/ use_backend DEV if aclDEV The strange thing ist that it works for http://my.domain.com/devel/2011/ but not for http://my.domain.com/devel/2011 It does not work without the trailing slash. An

Apache translates 500 to 502 from haproxy

2011-06-10 Thread Manoj Kumar
Hi, We are forwarding specific requests from apache to haproxy which interbally forwards it to a pool of cherry py servers. We have seen that certain requests end up in 500 in haproxy and cherry py logs which is ok and understood, but apache instead sends a 502 to the client. We see something lik

Re: "transparent mode"

2011-06-10 Thread 张广龙
Hi Robert, You can develop a netfilter module to change src ipaddr from haproxy's self ip to client ipaddr for backend servers. But this solution maybe decrease the whole performance of haproxy box for about 20%. this is a reference : http://www.zeus.com/community/extensions/zeus-kernel-module