Brad_Nelson_102
Nov 27, 2006Nimbostratus
Large 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.