Bob wrote: > I'm just looking at our scan times from our amavis scanners and > wondering if there might be some way to bring the average scan time > down.
> We're currently averaging about 6 seconds per message on our scanners. > We're scanning about 600,000 messages per day > We're using: > ClamAV > Spamassassin > -DCC (local DCC server) > -Razor2 > -FuzzyOCR > -rbl checks (local rpldnsd and local bind cache) > Is there any way to track how long each portion of the scan takes for a > message? It would be handy to know for each message how long the virus > scan took, how long the rbl checks take, how long FuzzyOCR takes... etc. For breaking down SpamAssassin, Mark mentions he uses: http://marc.theaimsgroup.com/?l=amavis-user&m=116108763611148 If necessary, instead of piping the output to 'timestamp' you can pipe it directly to that perl one liner: su vscan -c 'spamassassin -D < email.txt 2>&1' | perl -MPOSIX ..... In addition, you can temporarily set $log_level to 2 and obtain some sample TIMING data from the log. > On a side note, we aren't running SpamAssassin as spamd. It had been my > understanding that Amavisd-new was recommended to not run with spamd. Is > that still the case? Are there any performance improvements with running > it in either configuration? Amavisd-new does not use spamd. Amavisd-new has the ability to cache a signature of the message body for some set period of time so duplicates found within that time period are not scanned again (which obviously saves time). Amavisd-new also scans the message only once regardless of the number of recipients. This may or may not be true with spamc/spamd depending on implementation. For FuzzyOcr make sure you set a reasonably low focr_autodisable_score so it does not run if the message is already considered spam. FuzzyOcr is resource intensive. > Any suggestions are welcome. > Thanks for your help. > Happy New Year > Bob Pierce Gary V ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
