You need to check with your network admin for firewall timeout value. Then you should modify kernel parameter net.ipv4.tcp_keepalive_time to a value lower than the firewall timeout values. This should give the TCP keepalive a chance to keep the connection alive.
On Linux, the keepalive procedures use three user-driven variables:
/proc/sys/net/ipv4/tcp_keepalive_time : How often TCP sends out keepalive messages when keepalive is enabled. Default is 7200 seconds.
proc/sys/net/ipv4/tcp_keepalive_intvl : How frequent probes are retransmitted, when a probe isn't acknowledged. Default :75 seconds
proc/sys/net/ipv4/tcp_keepalive_probes : How many keepalive probes TCP will send, until it decides that the connection is broken. Default:9 seconds
AIX: (.5 second)
no -a | grep tcp
tcp_keepcnt = 8
tcp_keepidle = 14400
tcp_keepinit = 150
tcp_keepintvl = 150
tcp_keepinit = 150
tcp_keepintvl = 150
No comments:
Post a Comment