LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Large HTTP GET/POST timeout

To: Joseph Mack <mack.joseph@xxxxxxx>
Subject: Re: Large HTTP GET/POST timeout
Cc: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Julian Anastasov <ja@xxxxxx>
Date: Thu, 3 Jun 2004 01:05:41 +0300 (EEST)
        Hello,

On Wed, 2 Jun 2004, Joseph Mack wrote:

> OK so Ratz's work-around should work?

        Yes. Or you can hope that other traffic between director
and RS will update the PMTU in the routing cache.

> if you put a tunl0 device on the director, would it receive the PMTU
> packets back from the realserver?

        Yes, it can look into the ICMP errors that include IPIP
header but the current version of ipip.c does not update the
RIP's PMTU. Another option is IPVS to do it in LOCAL_IN.

> >         The VIP does not play here. The forwarded traffic is
> > routed to daddr=RIP (as for the other forwarding methods). Only the
> > clients need a route to VIP.
>
> I was thinking to reduce the MTU for the CIP-VIP segment, then
> there would be no problem in the DIP-RIP segment. Is this a way
> of handling it?

        This is another solution. Just keep
PMTU(CIP->VIP) <= PMTU(DIP->RIP) + 20
I'm not sure you can do it for every client. May be it can be in the
default route :)

Regards

--
Julian Anastasov <ja@xxxxxx>
<Prev in Thread] Current Thread [Next in Thread>