Forum Discussion

Spence_Faschin1's avatar
Spence_Faschin1
Icon for Nimbostratus rankNimbostratus
Oct 13, 2005

PROFILE::tcp idle_timeout

Is there a way to use the PROFILE::tcp idle_timeout to set the idle timeout value? I know that by default, I can just query the value - but using something like:

 

 

when HTTP_REQUEST {

 

if [HTTP::uri] starts_with "portal" } {

 

PROFILE::tcp idle_timeout 3600

 

}

 

}

 

 

I get an error:

 

 

wrong number of args . . .

 

 

My reasoning behind this is, at times - when a user goes to a certain URI, they are running reports, and it can take up to 30 minutes to have the server respond. I want to keep that connection in my connection table for longer than the default 300 seconds, but not for ALL http requests, just for ones that use this certain URI (they also get balanced to a different pool).

 

 

Any thoughts?

 

 

Thanks in advance
  • unRuleY_95363's avatar
    unRuleY_95363
    Historic F5 Account
    Try using "IP::idle_timeout "

     

     

    The idle timeout for a flow is derived from several places. The TCP profile being potentially only one of them. As such, you can override the current idle timeout with the command above. (You can also query the current idle timeout, which could possibly be different from the TCP profile timeout - ie, if you also have a timeout on the snat).