[SR-Users] tcp hangup

Juha Heinanen jh at tutpro.com
Sun Jan 9 20:41:24 CET 2011


Andrei Pelinescu-Onciul writes:

> However you could enable tcp level keepalives and on linux you can tune
> the intervals, e.g.:
> 
> tcp_keepalive = yes
> tcp_keepidle = 60
> tcp_keepintvl = 10
> tcp_keepcnt = 3

andrei,

my linux 2.6.32 kernel has these tcp keepalive variables:

tcp_keepalive_intvl   tcp_keepalive_probes  tcp_keepalive_time

linux tcp keepalive doc says:

Remember that keepalive support, even if configured in the kernel, is
not the default behavior in Linux. Programs must request keepalive
control for their sockets using the setsockopt interface. There are
relatively few programs implementing keepalive, but you can easily add
keepalive support for most of them following the instructions explained
later in this document.

question: does sr request that tcp keepalive is turned on on its tcp
connections or via a function call on a particular connection?

-- juha



More information about the sr-users mailing list