[lvs-users] Connection management at LVS
Khosrow Ebrahimpour
khosrow.ebrahimpour at ssc-spc.gc.ca
Fri Mar 22 16:07:55 GMT 2013
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.
More information about the lvs-users
mailing list