LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Squid Proxy behind LVS not opening some pages

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Squid Proxy behind LVS not opening some pages
Cc: Daniel Niasoff <daniel.niasoff@xxxxxxxxxxxxxxxxxxxx>
From: David Coulson <david@xxxxxxxxxxxxxxxx>
Date: Mon, 10 Dec 2012 19:57:38 -0500
Try disabling generic-recieve-offload.

ethtool -K eth0 gro off

I also disabled large-recieve-offload, although I never spent much time 
trying to figure out which was the 'right one', since it was causing 
production problems.

ethtool -K eth0 lro off

My issue was on RHEL6.3, so pretty much the same environment as you, 
although my boxes were using the igb driver (systems using e1000e on 
older rev hardware didn't seem to exhibit the LVS problem).

On 12/10/12 6:25 PM, Daniel Niasoff wrote:
> Hi,
>
> I have LVS running on Centos 6.3 in a direct routing configuration using 
> arptables to manage the VIPs.
>
> It's working "nearly" perfectly.
>
> I have noticed for a while that some pages don't open properly (they hang). I 
> thought it was an issue with the websites each time but then started testing.
>
> What I can see, is that if I access the proxy directly then the "problem" 
> page opens instantly but if I access it via LVS (using the VIP) then it will 
> just hang.
>
> Doesn't make a difference if I am using an explicit or transparent proxy.
>
> I have tried rr and lblc schedulers but to no avail.
>
> Any ideas?
>
> I noticed someone with similar issue 
> http://serverfault.com/questions/188451/lvs-ipvs-load-balanced-squid-problems-with-some-sites
>  and he ended up compiling a vanilla kernel. Don't want to go down that route 
> if I don't have to.
>
> Thanks
>
> Daniel
>
>
> _______________________________________________
> 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


_______________________________________________
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>