At 04:12 AM 8/15/2005, Paul J. Smith wrote:
We are currently seeing scan times of 60-90 seconds on a P4 3Ghz box
after adding some new rules emporium rules to try to increase the
effectiveness of spamassassin.
Is there a way to list the timing for each test rather that the total
scan time so I can see which parts are taking significant time and drop
them?
No, but you can narrow it down a bit.
If you run a message through spamassassin -D you can see it tell you when
it is running header rules, body rules, etc. You can use this information
to a least know what type of rule you're looking for.
Then you can start pulling SARE files out one at a time till the scan time
drops.
I would also double-check your memory footprint. If your spamds are all
really large (>60m) then you should look at the SARE rulesets and see which
one is large on disk and remove it. In general be a little warry of a rules
file that's over 256k or so. (bigevil in particular)