Forum Discussion

fabianlumy's avatar
fabianlumy
Icon for Nimbostratus rankNimbostratus
Jan 31, 2013

TCP KeepAlive - Avoid long client connection without data

Hello,

 

I have virtual servers with type "Standard", TCP profile and HTTP profile. (BigIP LTM 1600, v 11.2.0)

 

The problem is that some users stay connected indefinitly using TCP keep alive.

 

For the TCP profile, the max idle time is set to 300sec, but the client reset the connection idle time sending a tcp keepalive...

 

- Is there a way to define a maximum duration for connection when no data is sent/received...?

 

- How can I show the creation date of all tcp connection ? (to identify long duration....)

 

 

Thanks!

 

21 Replies

  • Top Google result and this still happens in 11.6.0. My thoughts right now - This could be caused by nightly node restarts we do on our side. We also did not have content match monitors but are implementing them now. If content match monitors solve the issue I will come back here and post. Maybe something weird happens if the web server is up but the application is not ready yet. - Now, on the F5 side this is fairly trivial, but if it is a server related issue it may not make sense to implement. The only thing that needs to be coded is to require 2 data bytes in the payload to reset the idle timer. Of course this would have to be an option on the TCP profile since in some cases 1 byte could be application traffic but that is certainly not he case for http.