Forum Discussion
Brad_Nelson_102
Nimbostratus
Nov 27, 2006Large external class files kill TMM
Hi,
I'm having an issue with large external class files in V9.22. These used to load very quickly and cause almost no performance hit in V4.x, even if there were half a million 'host nnn.nnn.nnn.nnn' entries in the file.
But with V9, if I create an external class file that's 200,000 IPs, and load it with:
'bigpipe merge /var/class/spammers.class-def'
then the TMM will restart, causing a failover after about 2-3 minutes. The class never loads.
The class-def file above looks like:
class spammers extern {
type ip
filename "/var/class/spammers.class"
}
In a meeting with some F5 folks a week or so ago, they suggested that there's a way to reference
an external file directly from an irule, ie, instead of what I'm currently doing:
if { ([matchclass [IP::remote_addr] equals $::spammers]) } {
....
}
you'd do something like:
if { ([matchclass [IP::remote_addr] equals [FILE::/var/class/spammers.class]]) } {
....
}
(I actually tried the above - but of course it doesn't work.)
Any help would be wonderful!
Brad Nelson, TELUS.
- hoolio
Cirrostratus
I've never heard of the ability to access an external class without it being defined in the bigip.conf. Logically, I don't see how it would work. I think it would be better to have the BIG-IP initialize the class at start up, versus trying to load it every time that portion of the rule is executed. - G__Wesley_RoberHistoric F5 AccountHi,
- Peter_Wohlers_7
Nimbostratus
the syntax for the extenal file class is something like this:
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