Forum Discussion
gerald_wegener_
Feb 12, 2009Nimbostratus
Joe -
I'm testing right now with around 50k entries so I need the external class file. I was able to load the file after addtions/deletions using 'b load'. I tried your suggestion of changing the file mode and that works as well but without reloading the entire config - which is better. It seems to work OK if even if you don't change the mode e.g. if the mode is currently rw and you add/delete an entry in the external class file then issue:
"b class blacklisttest extern {filename /var/class/blacklist type ip mode rw}"
it will force a read of the external class file. This is ver9.3.1.
Reloading a file with that many entries will raise the CPU quite a bit while loading(on a 6800 CPU0 goes up above 50-60% on an otherwise idle box) and CPU1(TMS) bumps up a bit but not nearly as much. Is there anyway around this to limit the impact to the box when loading large files?
Thanks for the tip on uploading files via the API since that was next on my list.
Gerry