Forum Discussion
Chris_Lira_5487
Nimbostratus
Oct 16, 2008idle timeout
In our BIGIP-LTM, the idle timeout is set to 300 seconds. When we run a transaction which takes about 10 minutes, we see a second transaction enter our web/app server after about 5 minutes (so we end up with two transactions running at the same time).
We think we are seeing a "retry" or a "resubmit" of the HTTP POST from the BIGIP (when we remove the BIGIP, the 2nd POST does not happen). The documentation says the connection will be "reset" after the timeout. Some folks are assuming reset=resubmit. I'm not clear on it.
Is this true? reset=resubmit of an HTTP POST?
- hoolio
Cirrostratus
LTM shouldn't retry a request unless you have an iRule which explicitly resends a request. LTM should send a FIN (or maybe a RST?) when the TCP idle timeout expires. That would instruct the peer in the connection to close the TCP connection. It would not allow for resending the same request unless the client specifically retried the request with interaction from the user. - Chris_Lira_5487
Nimbostratus
Yes, the server does actually take 10 minutes or more to start sending responses (long running search query). We have considered extending the TCP idle timeout to a higher value. But we were also exploring using shorter OS level tcp_keepalive(s). We are using AIX. Would that be a better approach? - hoolio
Cirrostratus
The TCP keepalive option might be better as the server will explicitly send the keepalive when it intends to use the connection. Compare this with having the BIG-IP hold all idle connection table entries for that long. - Chris_Lira_5487
Nimbostratus
we did this and it worked great. we set tcp_keepidle on AIX to 4.5 minutes and the BIGIP was happy to keep the connection open. We also found that the connection was kept open from the Windows PC to the BIGIP. That was a surprise. Is that because the BIGIP is sending the heartbeat ALL THE WAY back to the PC?? - hoolio
Cirrostratus
If the server sends a packet to LTM, LTM will proxy it back to the client. So what you're describing would be expected. - Lalo_Calvillo_2
Nimbostratus
Hello, where can I configure the idle time out to increase it´s value in the BIGIP-LTM. - hoolio
Cirrostratus
Hi Lalo, - Lalo_Calvillo_2
Nimbostratus
Hi Aaron, thank you very much. - Cindy_14283
Nimbostratus
Hi all, - JRahm
Admin
for applications that do not require long-lived connections, idle timeout should be kept low. For other things, like telnet, ssh, rdp, etc, it makes sense to give users time to look away from their screen without killing their sessions (assuming app keepalives are not configured, if they are, and you control them, you can set the idle timeout to just a few seconds greater than the configured keepalive interval)
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects