Re: TCP traffic multiplexing as balance algorithm?

2009-05-13 Thread Maik Broemme
Hi, Willy Tarreau w...@1wt.eu 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

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

2009-05-13 Thread Maik Broemme
Hi, Willy Tarreau w...@1wt.eu 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 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 the

Re: TCP traffic multiplexing as balance algorithm?

2009-05-13 Thread Maik Broemme
Hi, Benoit max.maver...@maverick.eu.org 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

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)

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.

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

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

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 maxconn