Forum Discussion
mrintzler
Nimbostratus
Nov 23, 2010iRule with table apparently leaking memory
We have an apparent memory leak that, according to F5, is the result of an iRule. We are using the 10.1 table command, with all entries set to a max life timeout of 1 hour. However, memory on our un...
hoolio
Cirrostratus
Nov 23, 2010Hi mrintzler,
Can you clarify what you're trying to accomplish?
Where are you defining $webapp_session? I don't see this set in the iRule. One issue I see is that you're incrementing the table before you check to see if you're over the limit. It would be more efficient to check if you're over the limit before doing any table additions/changes.
Also, if you're on a CMP capable platform, I'd also suggest changing the global variable $::webappmaxRate to a static variable, $static::::webappmaxRate. This will allow the iRule to run on all TMM instances instead of just one.
Aaron
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