Re: Compilation of haproxy-1.4-dev2 on FreeBSD

2009-08-26 Thread Willy Tarreau
Hello, On Mon, Aug 24, 2009 at 03:11:06PM +0400, Dmitry Sivachenko wrote: Hello! Please consider the following patches. They are required to compile haproxy-1.4-dev2 on FreeBSD. Summary: 1) include sys/types.h before netinet/tcp.h 2) Use IPPROTO_TCP instead of SOL_TCP (they are both

Re: reqrep always replaces, even when position \x is not found?

2009-08-26 Thread Willy Tarreau
Hi, On Mon, Aug 24, 2009 at 12:10:41PM +0100, Pedro Mata-Mouros Fonseca wrote: Greetings, Sorry for the double posting, let me just try to simplify the exposition of the problem. I'm trying to rewrite a URI using regular expression placeholders, but I'm having a problem that when a

Re: HAProxy randomly returning 502s when balancing IIS

2009-08-26 Thread Willy Tarreau
Hello, On Tue, Aug 25, 2009 at 03:26:57PM -0400, Miguel Pilar Vilagran wrote: Hello all, I have tried to diagnose our HAProxy install to see if we can get it solved. It seems that the HAProxy will randomly return 502s for existing items in the end servers. The configuration is as

TCP log format question

2009-08-26 Thread Dmitry Sivachenko
Hello! I am running haproxy-1.4-dev2 with the following configuration (excerpt): global log /var/run/loglocal0 user www group www daemon defaults log global modetcp balance roundrobin maxconn 2000 option

Re: round robin

2009-08-26 Thread Johan Duflost
Hello Willy, Ok I can understand this issue but when session stickyness is enabled, all the objects should be retreived from the same server, isn't it? So it's probably not our problem. Thanks. Johan - Original Message - From: Willy Tarreau w...@1wt.eu To: Johan Duflost

Re: HAProxy randomly returning 502s when balancing IIS

2009-08-26 Thread Miguel Pilar Vilagran
Hello, On 8/26/09 3:45 AM, Willy Tarreau w...@1wt.eu wrote: Hello, On Tue, Aug 25, 2009 at 03:26:57PM -0400, Miguel Pilar Vilagran wrote: Hello all, I have tried to diagnose our HAProxy install to see if we can get it solved. It seems that the HAProxy will randomly return 502s for

Backend Server UP/Down Debugging?

2009-08-26 Thread Jonah Horowitz
I’m watching my servers on the back end and occasionally they flap. I’m wondering if there is a way to see why they are taken out of service. I’d like to see the actual response, or at least a HTTP status code. Jonah Horowitz · Monitoring Manager · jhorow...@looksmart.net

Re: Backend Server UP/Down Debugging?

2009-08-26 Thread Willy Tarreau
Hi, On Wed, Aug 26, 2009 at 02:00:42PM -0700, Jonah Horowitz wrote: I???m watching my servers on the back end and occasionally they flap. I???m wondering if there is a way to see why they are taken out of service. I???d like to see the actual response, or at least a HTTP status code.

Re: TCP log format question

2009-08-26 Thread Willy Tarreau
Hello, On Wed, Aug 26, 2009 at 06:24:16PM +0400, Dmitry Sivachenko wrote: Hello! I am running haproxy-1.4-dev2 with the following configuration (excerpt): global log /var/run/loglocal0 user www group www daemon defaults log global