Forum Discussion
Hamish
Cirrocumulus
Aug 22, 2009rateclass undefined reference to rate class
Has anyone else out there had problems witha ssigning a connection to a rate class from an iRule?
I have an iRule that does rateclass assignment based on the client IP (Or subnet) and the URI they're hitting. Basically we do a lookup in a datagroup for the client IP. Then check the RUI. If the URI is a certain value, then we assign to a particular rateclass (The class is sepcified in the datagroup).
usually it works fine. But every now & again, SOME of the client IP's start to get errors, and the logs show the iRule is failing with a TCL error cliaming the rateclass doesn't exist...
But it does exist... You can do a
b rateclass
and get the stats (Which are 0)...
Removing the rateclass and re-creating it, the iRule works fine. As expected... As a check, I've been trying to create the rateclass BEFORE deleteing it (Just to see if it's my bad typing). But you can't re-create the rateclass without removing it, which shows that it's the iRule execution that seems to be failing (Rather than a mis-spelt entry in the datagroup or iRule logic error, or mis-spelt rate class name).
Is there a lmiit on the number of rate classes perhaps? When you reach it random ones are dropped from memory?
H
- hoolio
Cirrostratus
Hi Hamish, - Hamish
Cirrocumulus
I have a qkview from when the problem was occuring. It's been uplaoded to the case I opened on saturday. Looking at tmctl -a reveals the class I'm currently having problems with (The problem moves to a new rate class when you delete & re-creating one) isn't in the table 'rate_filter_class_stat' while the rest seem to... - hoolio
Cirrostratus
That really does sound like a limitation/bug. Can you reply back with F5 Support's response? - Hamish
Cirrocumulus
Yep. Just as soon as they get back to me.. (They've only asked questions so far).
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