Hamish
Aug 22, 2009Cirrocumulus
rateclass 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