Forum Discussion
Spence_Faschin1
Nimbostratus
Oct 13, 2005PROFILE::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
2 Replies
- unRuleY_95363Historic F5 AccountTry 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). - Spence_Faschin1
Nimbostratus
I will give that a try. Was not sure if that played with the same thing or not.
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
