Upgrade to clamav 0.90.2 makes scanning extremely slow

Kapetanakis Giannis bilias at edu.physics.uoc.gr
Wed Apr 25 00:19:23 IST 2007


On Tue, 24 Apr 2007, Ed Bruce wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Julian Field wrote:
>>
>>
>> Kapetanakis Giannis wrote:
>>> On Mon, 23 Apr 2007, Martin wrote:
>>
>>> Clamd works fast on the other hand.
>>> Maybe it should be included officialy (clamdscan)
>>> in MailScanner's the next version.
>> Why? I already support the "clamavmodule" which is faster than clamd anyway.
>>
>> Jules
>>
>
> And I haven't noticed any performance degradation with clamavmodule
> since upgrading to 0.90.2.

Same for me...

I remembered now that I did try clamavmodule.
The load now is seen in the MailScanner but I guess it is
the perl module that is being loaded.

>From a little debug I did in clamavscan
what it does and takes so long is:

Loading the database
copying the database to /tmp/
loading the database from /tmp

It does this for every mail it comes in.

How does clamavmodule handle the db?

Clamd only loads the db once.

Giannis


More information about the MailScanner mailing list