I have been having the same problem and was even more puzzled when
scanning the rogue file on my test system didn't exhibit the same
problem (it scanned in a fraction of a second as against over a minute
on my production system).  The reason for the difference was that in
/etc/clamd.conf on my test system I have the configuration:

MaxFileSize 15M

and on the production system the configuration was the default:

MaxFileSize 30M

changing the line on the production system and restarting clamd made
things better, but I think it may just be that the scan aborted quicker.

FAS

[EMAIL PROTECTED] wrote:
> Hi, 
> 
>  
> 
> For a couple of days now, I have some performance issues with clamav. I
> use clamav on my email server to scan incoming traffic. I faced the
> problem yesterday with the "Trojan.Agent-49425" before clamav was
> considering it as a virus.  The scanning time of this 35KB zipped file was
> 16444.5 ms, once considered as a virus it was taking 50.531 ms to scan it.
> Today I face the same problem with an email containing a zipped file with
> the virus "Email.Trojan-14". It's a 32KB file and clamdscan take 15s to
> scan it. I'm currently using clamav 0.94.  I really don't know what to do
> to fix this issue. 
> 
>  
> 
> Thanks for your help.
> 
>  
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://www.clamav.net/support/ml

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to