[jdev] Heartbeat and tcp keepalive

Craig Hollabaugh craig at hollabaugh.com
Tue Mar 1 19:09:05 CST 2005

On Tue, 2005-03-01 at 17:46 -0700, David Waite wrote:
> To get to a 5 second timeout, you will need to heavily modify not just
> the keepalives, but put your stack in a non-standard tcp timeout mode
> (default timeouts on linux take nearly 4 minutes). These settings I
> believe are all operating-system wide.


Where did you arrive at 4 minutes? All my debian machines have
/proc/sys/net/ipv4/tcp_keepalive_time at 7200 which is 2 hours.


More information about the JDev mailing list