[lvs-users] Infinite timeout of a long TCP session?

Malcolm Turnbull malcolm at loadbalancer.org
Thu Jul 28 19:45:23 BST 2011


OK, so if you have an application with long TCP sessions you can
increase the TCP timeout:
http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.services.general.html#tcpip_idle_timeout

That works great.

But what if you want the ability to stay connected to the same server
forever? (I think the current limit is two weeks).

Now obviously it would gradually leak memory for ever as well....

But what if LVS sent an ACK to the client when the TCP timeout was
about to expire? ( a bit like a fake keepalive, and assuming that the
client would accept it )
And yes I know its the application that needs fixing and not LVS :-).

I think F5 call it require keepalive ack or something...

Not really expecting a solution but I thought I'd ask anyway.

Thanks.

-- 
Regards,

Malcolm Turnbull.

Loadbalancer.org Ltd.
Phone: +44 (0)870 443 8779
http://www.loadbalancer.org/




More information about the lvs-users mailing list