Forum Discussion
mrintzler
Nimbostratus
Feb 04, 2008iRule causing ever-increasing TMM CPU utilization
I've adapted an iRule written by Deb Allen to rate limit (in count, not in bps) PDF downloads from one of our web applications. It basically counts the number of PDF's downloaded in the past 10 secon...
spark_86682
Feb 06, 2008Historic F5 Account
It sounds like you've diagnosed the problem correctly in that your array just grows over time. If a client just downloads a PDF and leaves, I don't see any way that your iRule ever cleans that entry out of the array, so under normal use, the array would just grow and grow.
I don't have a perfect suggestion for you; here don't yet exist any timer commands for you to run a block of code every so often. You could do something like keep a counter of how many HTTP_REQUEST events you've seen and completely clear out the array every 100,000 or so.
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
