Mailing List Archive

[lvs-users] Connection management at LVS
Hi Group,
I have a situation, where my load balancer is handling connection that can
survive for couple of days. I assume, LVS remove the connection entry on
getting some control message (like FIN or RST) or on connection timeout. I
am not sure, how connection timeout is implemented. In my situation, I
would like the connection to time out, if there is no traffic on the
connection for configured amount of time. Please let me know if it is
possible.
thanks
Ittium
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
Re: [lvs-users] Connection management at LVS [ In reply to ]
Hi,

On Thursday, March 21, 2013 11:10:30 AM ittium wrote:
> Hi Group,
> I have a situation, where my load balancer is handling connection that can
> survive for couple of days. I assume, LVS remove the connection entry on
> getting some control message (like FIN or RST) or on connection timeout. I
> am not sure, how connection timeout is implemented. In my situation, I
> would like the connection to time out, if there is no traffic on the
> connection for configured amount of time. Please let me know if it is
> possible.
> thanks
> Ittium

Have you tried modifying the tcp/udp/fwm timeout option in ipvsadm? The
default timeout in LVS is :

# ipvsadm -L --timeout
Timeout (tcp tcpfin udp): 900 120 300

For modifying the values, have a look at the "--set" option.

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

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