Re: About si_conn_send_loop()

2013-10-11 Thread Willy Tarreau
Hi Godbach, On Wed, Oct 09, 2013 at 11:28:32PM +0800, Godbach wrote: Hi Willy, It seems that the loop will be only excuted once. The related codes as below(src/stream_interface.c): static int si_conn_send_loop(struct connection *conn) { ... while (!(conn-flags (CO_FL_ERROR |

Re: Load Balancer Replacement

2013-10-11 Thread Willy Tarreau
On Thu, Oct 10, 2013 at 04:05:47PM +, Shervey, William E wrote: Just reading some of your work online that discusses replacing load balancers with haproxy. It looks like a great solution. http://haproxy.1wt.eu/ Unfortunately I am simply not smart enough to weed through the

Re: Assistance with Redirect

2013-10-11 Thread Willy Tarreau
Hi Errol, On Mon, Oct 07, 2013 at 06:13:16AM -0400, Errol Neal wrote: Hi all. I sent this earlier last week. Still having some trouble getting it to work. I'm just trying to redirect all requests to http://www.$domain.com. Based on some googling, here is what I have: acl host_www

Re: Page allocation failure

2013-10-11 Thread Willy Tarreau
Hi Jens, On Mon, Oct 07, 2013 at 11:23:38AM +, Jens Dueholm Christensen wrote: A bit of followup (again sorry for topposting).. I began looking around for the first line in the stacktrace __alloc_pages_nodemask+0x757/0x8d0 and found a thread in the Linux-Kernel mailinglist:

Re: About si_conn_send_loop()

2013-10-11 Thread Godbach
On 2013/10/11 14:10, Willy Tarreau wrote: Hi Godbach, Yes I remember about this change, it happened one year ago in the following commit : ed7f836 BUG/MINOR: stream_interface: don't loop over -snd_buf() In 1.4 and 1.5 before the connection rework, the loop was used to call send() over each

Re: Delays from HAProxy

2013-10-11 Thread Willy Tarreau
On Fri, Oct 11, 2013 at 10:59:51AM -0400, Andy M. wrote: I looked at my pcap file again. It looks really weird. My HAProxy gets the GET request, and sends the response. The the client resends the GET request, and there seems to be a lot of tcp_retransmission and dup ack packets. Here is a

Proxy Protocol Patch for HAProxy 1.4

2013-10-11 Thread Charles-antoine Guillat-Guignard
Hello, After testing the proxy protocol feature to balance SMTP connections to a Postfix 2.10 farm, I have to say it is doing nicely, using HAProxy 1.5-dev19. Thank you for this very welcome feature. But I was wondering, is the proxy protocol patch for the current stable version (1.4.24)

Re: Huge performance issues with Haproxy + SSL

2013-10-11 Thread steve
Baptiste bedis9@... writes: Hi Steve, Can you send us your configuration (anonymised if required). We also need your sysctls (at least the one you've modified). Baptiste On Fri, Oct 11, 2013 at 4:43 AM, steve blogad69@... wrote: I have been working on trouble shooting Haproxy 1.5

Re: Huge performance issues with Haproxy + SSL

2013-10-11 Thread steve
Willy Tarreau w at 1wt.eu writes: On Fri, Oct 11, 2013 at 02:43:35AM +, steve wrote: I have been working on trouble shooting Haproxy 1.5 dev 19 with SSL for the last day or so on Cent OS 6.4 64bit. Lastest OpenSSL compiled 1.0.1e, recompiled haproxy with this make -s

зоркий глаз- превосходное зрение

2013-10-11 Thread deceased07
Вы восстанавливаете зрение без отрыва от должноста так же! непринужденно а так же с удовлетворением! http://s.coop/1td2r

Re: Need help with 1.5 crashing when browser refreshed

2013-10-11 Thread Kevin
My initial builds were done using HomeBrew for both 1.4.24 and 1.5dev19. It is configured with the following arguments to make: TARGET=generic USE_KQUEUE=1 USE_POLL=1 USE_PCRE=1 The 1.5dev19 settings add to those: USE_OPENSSL=1 USE_ZLIB=1 ADDLIB=-lcrypto When I did my test compiles I

HTTP and send-proxy

2013-10-11 Thread jinge
Hi all! I want use the haproxy PROXY protocol for our use case. To send our clients ip address to the peer haproxy. But after I config the send-proxy and accept-proxy in the configuration. The web nevent be successful responsed. The 503 error always there. the configure there ha-L0.conf

RE;RE; Sample\ Order

2013-10-11 Thread christine
** Hello, wish you a nice day! we are led maker . Our products range is work-light, led-strip, light-bar. we are so pleased to enclosed some for your reference. If you are

Re: Need help with 1.5 crashing when browser refreshed

2013-10-11 Thread Willy Tarreau
Hi Kevin, On Fri, Oct 11, 2013 at 07:39:32PM -0500, Kevin wrote: My initial builds were done using HomeBrew for both 1.4.24 and 1.5dev19. It is configured with the following arguments to make: TARGET=generic USE_KQUEUE=1 USE_POLL=1 USE_PCRE=1 The 1.5dev19 settings add to those: