Upgrade to clamav 0.90.2 makes scanning extremely slow

Julian Field MailScanner at ecs.soton.ac.uk
Wed Apr 25 10:53:12 IST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Kapetanakis Giannis wrote:
> 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.
Slight correction: it does it once for every batch.
>
> How does clamavmodule handle the db?
>
> Clamd only loads the db once.
clamavmodule loads the db once at startup. It then monitors the 
signature files and instantly reloads the db if the signatures files 
change at all.
>
> Giannis

Jules

- -- 
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit www.transtec.co.uk



-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.6.0 (Build 214)
Charset: ISO-8859-1

wj8DBQFGLyUlEfZZRxQVtlQRAhm5AJ4p6bnCBNLPT8vl8aDKsfxBRrxPqACgnHxB
8yt9xZuLY9J8fq6e0jv2E0M=
=Ot+1
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk



More information about the MailScanner mailing list