Re: Delays from HAProxy

2013-10-18 Thread Willy Tarreau
On Mon, Oct 14, 2013 at 10:39:18AM -0400, Andy M. wrote: > I am trying to get closer to the switch, unfortunately my boxes are in a > data center I do not have access too. I am working with them to try and > debug this, so far it seems like in general the servers are re transmitting > packets unde

Re: Delays from HAProxy

2013-10-14 Thread Andy M.
I am trying to get closer to the switch, unfortunately my boxes are in a data center I do not have access too. I am working with them to try and debug this, so far it seems like in general the servers are re transmitting packets under the load I am testing at, not just packets through HAProxy, so

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

Re: Delays from HAProxy

2013-10-11 Thread Andy M.
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 picture of one request to my haproxy: http://i.imgur.com/r3oz

Re: Delays from HAProxy

2013-10-10 Thread Willy Tarreau
On Thu, Oct 10, 2013 at 03:57:37PM -0400, Andy M. wrote: > Thanks for the response pelle, > > The haproxy box is running at about 10-15% cpu. > > Looking at the TCP Dump, it seems the client is doing 1 or more > TCP_Retransmissions of the incoming request when there is a delay. Anyone > know why

Re: Delays from HAProxy

2013-10-10 Thread Andy M.
Thanks for the response pelle, The haproxy box is running at about 10-15% cpu. Looking at the TCP Dump, it seems the client is doing 1 or more TCP_Retransmissions of the incoming request when there is a delay. Anyone know why this would happen? Here is the requested information: root@haproxy:~#

Fwd: Delays from HAProxy

2013-10-10 Thread Andy M.
Thanks for the response pelle, The haproxy box is running at about 10-15% cpu. Looking at the TCP Dump, it seems the client is doing 1 or more TCP_Retransmissions of the incoming request when there is a delay. Anyone know why this would happen? Here is the requested information: root@haproxy:~#

Re: Delays from HAProxy

2013-10-10 Thread Pär Åslund
Hi Andy, Can't see anything wrong with your configuration. How about the server running haproxy? anything about that regarding cpu etc? I wouldn't be using net.ipv4.tcp_tw_recycle = 1 tw_recycle is a bit dodgy and can give some unwanted side-effects. tw_reuse = 1 should be sufficient. How does a

Delays from HAProxy

2013-10-10 Thread Andy M.
Hello, I am trying to configure an HAProxy And seem to be running into a problem where the HAProxy will spike. I have a high throughput server cluster, which will need to handle about 10-20k QPS. I believe that HAProxy should be able to handle that quite easily from what I have read. I am runni