LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] TCP connection dropping ~7% of the time

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] TCP connection dropping ~7% of the time
From: Joseph Mack NA3T <jmack@xxxxxxxx>
Date: Tue, 21 Jul 2009 12:56:57 -0700 (PDT)
On Tue, 21 Jul 2009, Jay Faulkner wrote:

> Hey guys,
>
> The problem we're experiencing now is that somewhere 
> between 3% and 7% of all connections are dropping -

you don't say what "dropping" is. Is it entries disappearing 
from the ipvsadm table? clients getting RST?

> same behavior you'd see with an iptables DROP rule or a 
> missing return route. We aren't seeing the issue when we 
> transition from a LVS to a direct DNAT to a VIP.

this is a wierd one. Looks a bit like arp hopping, so 
let's assume it's a routing problem. Let's look for wierd 
reasons.

o make sure there are no iptables rules on any of the 
machines.

o test with local client (not through proxy) connecting to 
VIP

o make sure there is no physical route from the realserver 
to the client except throught the DIP - ie no routes that an 
imcp redirect that change. check your routes with

ip route show

(not `route -n`)

o test with a simple client. telnet is best (to port 23) 
then next best is telnet to port 80 and do a GET

Joe

-- 
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

<Prev in Thread] Current Thread [Next in Thread>