Re: Setting listen address of HAProxy as HTTP-Header?

2009-07-27 Thread Willy Tarreau
Hi Maik, On Tue, Jul 28, 2009 at 12:31:23AM +0200, Maik Broemme wrote: > Hi, > > is it possible to set the listen address of HAProxy as an HTTP-Request > Header? For example if you have HAProxys running on multiple servers and > balance the requests to multiple backend servers, which have a NAT r

Setting listen address of HAProxy as HTTP-Header?

2009-07-27 Thread Maik Broemme
Hi, is it possible to set the listen address of HAProxy as an HTTP-Request Header? For example if you have HAProxys running on multiple servers and balance the requests to multiple backend servers, which have a NAT router between HAProxys and backend servers, it would be very nice to have a header

[ANNOUNCE] haproxy 1.3.19

2009-07-27 Thread Willy Tarreau
Hi all, I got several annoying bug reports which all finally got fixed (last one fixed this evening). So, since the bug queue is now empty, it's a good time to release a new version. I now encourage everyone to migrate to maintenance release 1.3.19. The 3 last bugs I fixed can cause random pauses

Re: HAProxy health checks on servlets

2009-07-27 Thread Willy Tarreau
On Mon, Jul 27, 2009 at 01:02:45PM -0400, Chuck Koscher wrote: > I've got HAProxy performing health checks on Tomcat servers, but if an > individual servlet goes down on one Tomcat, HAProxy continues to > direct failed traffic towards it. > > How can HAProxy be configured to recognize Tomcat's

Re: Chunked HTTP traffic

2009-07-27 Thread Willy Tarreau
Hi Jeff, On Mon, Jul 27, 2009 at 02:35:24PM -0400, Jeff Buchbinder wrote: > I'm having a strange issue with haproxy, involving a client who is using > HTTP/1.1 "chunking" with requests, but is rudely not allowing fallback > to HTTP/1.0 behavior. (They're using Apache Coyote, if that makes any >

Re: Still dropping TS sessions.

2009-07-27 Thread Willy Tarreau
Hi Guillaume, On Mon, Jul 27, 2009 at 09:33:07AM -0400, Guillaume Bourque wrote: > > > But has any one looked at doing a SourceIP persistence which is not a > > > hash i.e. a look up table of source IPs? > > > > We wanted to work on it but don't have the time to do everything, so... one > > thing

Chunked HTTP traffic

2009-07-27 Thread Jeff Buchbinder
I'm having a strange issue with haproxy, involving a client who is using HTTP/1.1 "chunking" with requests, but is rudely not allowing fallback to HTTP/1.0 behavior. (They're using Apache Coyote, if that makes any difference). Any attempt to grab data from them results in something like this f

HAProxy health checks on servlets

2009-07-27 Thread Chuck Koscher
I've got HAProxy performing health checks on Tomcat servers, but if an individual servlet goes down on one Tomcat, HAProxy continues to direct failed traffic towards it. How can HAProxy be configured to recognize Tomcat's HTTP Status 503? Thanks, Chuck

Re: HAProxy Linux kernel 2.6 tuning for high load/connections

2009-07-27 Thread Benoit
xx yy a écrit : > My tests were conducted on a Xen hypervisor with 3 Virtual Machines > running > Ubuntu Server 8.04 64bit: VM are nice for dev/testing, not so when you have to get the full perfs of a system .. > #1: HAPROXY 1.3.18 compiled from source 128 MB, 1 CPU > #2: Apache 256 MB, 1 CPU > #3

Re: Still dropping TS sessions.

2009-07-27 Thread Guillaume Bourque
Hi Willy, > > But has any one looked at doing a SourceIP persistence which is not a > > hash i.e. a look up table of source IPs? > > We wanted to work on it but don't have the time to do everything, so... one > thing at a time :-) Why not just balance base on the source IP it work well for us,

RE: HAProxy and FreeBSD CARP failover

2009-07-27 Thread GARRISON, TRAVIS J.
With carp, the IP address should already be bound to the spare server, just not active. If you check the status of CARP on the main server, it should list that IP as active and on the backup server as backup. Might want to verify your configs in CARP. Travis From: Daniel Gentleman [mailto:dani

HAProxy Linux kernel 2.6 tuning for high load/connections

2009-07-27 Thread xx yy
Hi, I have played around with HAproxy and I must say that it is a great product. My tests were conducted on a Xen hypervisor with 3 Virtual Machines running Ubuntu Server 8.04 64bit: #1: HAPROXY 1.3.18 compiled from source 128 MB, 1 CPU #2: Apache 256 MB, 1 CPU #3 Lighttpd 512 MB, 2 CPU This