At 03:10 PM 1/2/2007, Bob Pierce wrote: >On Fri, 2006-12-29 at 17:34 -0600, Noel Jones wrote: > > >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. > > > > Log level 2 (in amavisd.conf) will give a breakdown of the > > times. Very likely 90% or more is spent in spamassassin, > >Thanks for the suggestion. It looks like the time is split fairly evenly >on average between spamassassin and ClamAV. > >Which makes me wonder, is there a performance benefit to running clamd >instead of having spamassassin call clamscan?
Absolutely use clamd! Clamscan must load all the virus databases each time it runs. Using clamd instead will give you a ~1.5 second advantage for each message (or more). See the comments in amavisd.conf for enabling clamd, ask back here if you need more help. -- Noel Jones ------------------------------------------------------------------------- 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/
