Forum Discussion
huli_huli_37457
Nimbostratus
Feb 04, 2012Table timeout/lifetime Not Reflected in -count
Howdy! I am attempting to build an IRULE that functions as a gate keeper, limiting the number of active sessions at any given point in time. I am using a sub-table to manage ea...
huli_huli_37457
Nimbostratus
Feb 05, 2012And for what its worth, I see that
set session_count_native [table keys -subtable $table_subname -count]
set session_count_length [llength [table keys -subtable $table_subname]]
$session_count_native and $session_count_length are not equal, even though I would expect them to be. I worry that the overhead associated with calculating $session_count_length is too great for my application, but certainly better than my previous approach of iterating over the list and incrementing a counter.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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