On Sat, Aug 18, 2007 at 03:13:32PM -0500, Noel Jones wrote:
> At 01:55 PM 8/18/2007, Clifton Royston wrote:
> >  Have you tried to run clamscan lately?  When I was setting up my
> >latest amavisd system I had socket permission problems for the clamd
> >socket, and my test messages were taking *minutes* to scan.  I assumed
> >this was because clamscan was taking so long to parse the signature
> >dictionary at each invocation.
> 
> The current clamscan 0.91.1 is much improved at loading the 
> dictionary.  Simple messages should scan in less than 2 
> seconds.  There may still be some performance problems scanning PDF 
> files, you can use --no-pdf to work around that if you have a problem 
> (I don't think any current sigs depend on PDF scanning, not even the 
> stock scam PDF sigs).
 
  Oh, that's very good news.  I just upgraded from 0.90.3 a week ago,
and hadn't retested that.  (As it happens I just last weekend fixed
something in my own code that had a near-identical problem with a large
signature file, and went from taking almost 2 minutes to load to less
than 1 second.)

> Although I admit that 2 seconds is still 100 times longer than clamd 
> takes, and that could cause a problem on a busy system.

  Still, that's in a perfectly acceptable range.  I should retest it so
I know how to characterize it.

  -- Clifton

-- 
    Clifton Royston  --  [EMAIL PROTECTED] / [EMAIL PROTECTED]
       President  - I and I Computing * http://www.iandicomputing.com/
 Custom programming, network design, systems and network consulting services

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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/

Reply via email to