Re: New HAProxy user keeps loosing connection

2009-05-13 Thread Willy Tarreau
On Wed, May 13, 2009 at 04:53:15PM -0400, Tom Potwin wrote: > Thanks Alex for the info. Unfortunately, I'm already using 'option > httpclose'. Here's my current cfg: > global > log 127.0.0.1 local0 > log 127.0.0.1 local1 notice > #log loghostlocal0 info > max

RE: New HAProxy user keeps loosing connection

2009-05-13 Thread Tom Potwin
Thanks Alex for the info. Unfortunately, I'm already using 'option httpclose'. Here's my current cfg: global log 127.0.0.1 local0 log 127.0.0.1 local1 notice #log loghostlocal0 info maxconn 4096 #debug #quiet user haproxy group

Re: New HAProxy user keeps loosing connection

2009-05-13 Thread Alex Forrow
Hi Tom, This sounds like a keep-alive issue. HAProxy currently does not support connections that use HTTP keep-alive, in that HAProxy will only process the first header sent in a connection, the rest is considered data. Have a read of section 1 of the documentation for more information on thi

New HAProxy user keeps loosing connection

2009-05-13 Thread Tom Potwin
Hi I hope I'm doing this correctly. I just joined, and I haven't used a mailing list in a long time. I'm using HAProxy and Heartbeat on two Ubuntu 8.04 servers. I have two Xen nodes on each of my physical machines. One is the load balance and Heartbeat, the other is the actual web server. testing

Re: [PATCH] Fix 'tcp-request content [accept|reject] if condition' parser for missing 'if'.

2009-05-13 Thread Maik Broemme
Hi, Willy Tarreau wrote: > On Wed, May 13, 2009 at 11:50:07AM +0200, Maik Broemme wrote: > > I don't get you. You mean that simply omitting the "if" between "reject" and > "cond" is not returned as an error, that's it ? If so, yes I agree that it > would be better that it yells here. Since I cop

Re: [PATCH] Fix 'tcp-request content [accept|reject] if condition' parser for missing 'if'.

2009-05-13 Thread Willy Tarreau
On Wed, May 13, 2009 at 11:50:07AM +0200, Maik Broemme wrote: > > The second case above was precisely what led me to discover the segfault > > bug, which was introduced in 1.3.17 with the refinement of the config > > warnings. But the behaviour has not changed since 1.3.16. > > > > You have misse

Re: TCP traffic multiplexing as balance algorithm?

2009-05-13 Thread Michael Miller
Hi, In your specific case of testing SMTP servers there is a sendmail milter to do what you want: http://www.snertsoft.com/sendmail/roundhouse/ I do not believe that what you are trying to achieve is possible at the TCP level. haproxy does not have any idea of the application protocol (eg: SMTP)

Re: TCP traffic multiplexing as balance algorithm?

2009-05-13 Thread Maik Broemme
Hi, Benoit wrote: > Maik Broemme a écrit : > > Hi, > > > > > > Multiplex means traffic duplication. If you have multiple server > > configuration options in one listen group, the incoming traffic is > > sent to all servers. > > > > Hum, i'm sorry but no, multiplexing is not duplication. In

Re: TCP traffic multiplexing as balance algorithm?

2009-05-13 Thread Benoit
Maik Broemme a écrit : > Hi, > > > Multiplex means traffic duplication. If you have multiple server > configuration options in one listen group, the incoming traffic is > sent to all servers. > Hum, i'm sorry but no, multiplexing is not duplication. In fact it's more like the opposite, it's

Re: TCP traffic multiplexing as balance algorithm?

2009-05-13 Thread Benoit
Maik Broemme a écrit : > Hi, > > > Multiplex means traffic duplication. If you have multiple server > configuration options in one listen group, the incoming traffic is > sent to all servers. > Hum, i'm sorry but no, multiplexing is not duplication. In fact it's more like the opposite, it's

Re: [PATCH] Fix 'tcp-request content [accept|reject] if condition' parser for missing 'if'.

2009-05-13 Thread Maik Broemme
Hi, Willy Tarreau wrote: > Hi Maik, > > On Tue, May 12, 2009 at 01:36:46AM +0200, Maik Broemme wrote: > > Hi, > > > > attached is a patch which fixes a configuration mistake regarding the > > 'tcp-request' option. If you have the following in your configuration > > file: > > > > acl

Re: TCP traffic multiplexing as balance algorithm?

2009-05-13 Thread Maik Broemme
Hi, Willy Tarreau wrote: > Hi Maik, > > On Tue, May 12, 2009 at 01:57:47AM +0200, Maik Broemme wrote: > > Hi, > > > > I have a small question. Did someone know if it is possible to do simple > > traffic multiplexing with HAProxy? Maybe I am missing it somehow, but > > want to ask on the list be