After the connection has been established, and the two sides have no communication, which timeout value determines the idle connection be closed?
Idle timeout is the maximum length of time that a TCP connection can stay active when no traffic is sent through the connection. The default global idle timeout for all traffic is 3600 seconds (1 hour).
By default, the TCP connection timeout is 15 minutes and the UDP connection timeout 30 seconds. In order to increase the connection timeout you can modify it from the firewall access rules.
The Idle Timeout setting in the TCP profile specifies the length of time that a connection is idle before the connection is eligible for deletion. If no traffic flow is detected within the idle session timeout, the BIG-IP system can delete the session. The default is 300 seconds.
In general, none. It is the programmer's and protocol-designer's responsibility to specify, implement and enforce any timeouts at an application level.
However, all kinds of things can happen to cause outages and other network connectivity issues. It is not possible to determine if a TCP connection is idle, or if the other end is unreachable, unless you're trying to send something.
For this reason, most servers with long-standing connections contain simple polls such as sending empty packets or such every so-often just to detect lack of connectivity.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With