[ANNOUNCE] haproxy 1.4-dev6 : many fixes

2010-01-07 Thread Willy Tarreau
Hi all, well, some of you have encountered issues with 1.4-dev5 with sessions left in CLOSE_WAIT state or with memory leaks. With the help of Cyril Bonté and Hank A. Paulson who have sent a lot of feedback and tested almost all intermediate versions, we finally managed to nail all the problems do

Re: Headers Size

2010-01-07 Thread Willy Tarreau
On Thu, Jan 07, 2010 at 08:40:59PM -0500, Hector Danniel Paz Trillo wrote: > Thanks Willy! > > I recompile haproxy with: > > "-DBUFSIZE=16000 -DMAXREWRITE=1024 -DSYSTEM_MAXCONN=4" > > It doesn't work. Then I recompile with: > > "-DBUFSIZE=64000 -DMAXREWRITE=1024 -DSYSTEM_MAXCONN=4" > >

Re: Headers Size

2010-01-07 Thread Hector Danniel Paz Trillo
Thanks Willy! I recompile haproxy with: "-DBUFSIZE=16000 -DMAXREWRITE=1024 -DSYSTEM_MAXCONN=4" It doesn't work. Then I recompile with: "-DBUFSIZE=64000 -DMAXREWRITE=1024 -DSYSTEM_MAXCONN=4" And it works. But I'm very worried about this value. This is the difference in haproxy logs: DB

Re: listen -> unique IP:port

2010-01-07 Thread Aristedes Maniatis
On 8/01/10 1:31 AM, Willy Tarreau wrote: Hi, On Fri, Jan 08, 2010 at 12:51:46AM +1100, Aristedes Maniatis wrote: I'm working on a web UI for administering the haproxy config and I have a question I can't find the answer to in the documentation. Are the listener blocks unique with respect to IP:

Re: Headers Size

2010-01-07 Thread Willy Tarreau
Hi, On Thu, Jan 07, 2010 at 04:20:24PM -0500, Hector Danniel Paz Trillo wrote: > Hi, > > I have this configuration haproxy -> nginx (static) -> apache (php) . > It is working fine for large traffic sites. These days I'm adding a > new site and I starting to see 502 errors when saving a form with

Re: Can HAProxy's Balancing Mechanism Be Called NAT?

2010-01-07 Thread David Birdsong
2010/1/7 XANi > Dnia 2010-01-07, czw o godzinie 11:29 +0800, Joe P.H. Chiang pisze: > > Hi All > > I was wondering if the HA Proxy's Balancing Mechanism be called a NAT > Mechanism, because it's masking the servers' IP addresses, and then route > the traffic to the location. > > > > because i

Headers Size

2010-01-07 Thread Hector Danniel Paz Trillo
Hi, I have this configuration haproxy -> nginx (static) -> apache (php) . It is working fine for large traffic sites. These days I'm adding a new site and I starting to see 502 errors when saving a form with POST method. The errors were from nginx so I change the header size limit to a higher valu

Re: listen -> unique IP:port

2010-01-07 Thread Willy Tarreau
Hi, On Fri, Jan 08, 2010 at 12:51:46AM +1100, Aristedes Maniatis wrote: > I'm working on a web UI for administering the haproxy config and I have a > question I can't find the answer to in the documentation. Are the listener > blocks unique with respect to IP:port? That is, is this valid: > >

listen -> unique IP:port

2010-01-07 Thread Aristedes Maniatis
I'm working on a web UI for administering the haproxy config and I have a question I can't find the answer to in the documentation. Are the listener blocks unique with respect to IP:port? That is, is this valid: listen bind 1.2.3.4:80 acl someAcl... server 1.2.5.1 ifsomeAcl listen bin

Re: [PATCH 4/5] [MEDIUM] default-server support

2010-01-07 Thread Krzysztof Olędzki
On 2010-01-07 00:37, Willy Tarreau wrote: Hi Krzysztof, On Wed, Jan 06, 2010 at 10:26:05AM +0100, Krzysztof Ol?dzki wrote: How about adding "Supported in default-server: Yes/No" into each keyword? It's OK for me. I've merged your 3 patches, including the one which did this change. This should

Re: [ANNOUNCE] haproxy 1.4-dev5 with keep-alive :-) memory comsuption

2010-01-07 Thread Willy Tarreau
Hi Hank, as I suspected, the problem was with the header capture. They were not released before being erased when clearing the session for a new keep-alive request. I have fixed it in git if you want to try the snapshot again : http://haproxy.1wt.eu/git?p=haproxy.git;a=snapshot;h=6fe60182aa15

Re: Can HAProxy's Balancing Mechanism Be Called NAT?

2010-01-07 Thread XANi
Dnia 2010-01-07, czw o godzinie 11:29 +0800, Joe P.H. Chiang pisze: > Hi All > > I was wondering if the HA Proxy's Balancing Mechanism be called a NAT > Mechanism, because it's masking the servers' IP addresses, and then > route the traffic to the location. > > > > because i was just discussin