Forum Discussion
Rusty_Hale_8009
Nimbostratus
Jan 25, 2007I want to log the value in the array for total connections.
I have this iRule: when RULE_INIT {
array set ::active_clients { }
}
when CLIENT_ACCEPTED {
set client_ip [IP::remote_addr]
set conn_threshold 10
if { [info exists ::active_clients($clien...
Colin_Walker_12
Feb 08, 2007Historic F5 Account
Breaking down as in why it's allowing 31 connections instead of 30? It's because you're checking to see if the value is greater than the threshold, not equal to or greater than. Try implementing it as ">=" instead of just ">".
Or was your questions something else?
Colin
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
