[clamav-users] How to boost clamav? Reloading database results in a talking timeout?

Al Varnell alvarnell at mac.com
Sat Sep 7 21:39:22 UTC 2019


On Sat, Sep 07, 2019 at 13:06 PM, Robert M. Stockmann via clamav-users wrote:
> On Sat, 7 Sep 2019, Reio Remma via clamav-users wrote:
>> Date: Sat, 7 Sep 2019 22:57:08 +0300
>> From: Reio Remma via clamav-users <clamav-users at lists.clamav.net <mailto:clamav-users at lists.clamav.net>>
>> To: clamav-users at lists.clamav.net <mailto:clamav-users at lists.clamav.net>
>> Cc: Reio Remma <reio at mrstuudio.ee <mailto:reio at mrstuudio.ee>>
>> Subject: Re: [clamav-users] How to boost clamav? Reloading database
>>    results in a talking timeout?
>> 
>> On 07.09.2019 22:03, Robert M. Stockmann via clamav-users wrote:
>>> On Fri, 6 Sep 2019, Reio Remma via clamav-users wrote:
>>>>>>> I guess many of us are just running too old hardware. :)
>>>>>>> 
>>>>>>> Here's a comparison between my mail server and identical config
>>>>>>> running in a VM.
>>>>>>> 
>>>>>>> Sep  6 09:41:06 mail clamd[31441]: Reading databases from
>>>>>>> /var/lib/clamav
>>>>>>> Sep  6 09:44:05 mail clamd[31441]: Database correctly reloaded
>>>>>>> (10741767 ...
>>>>>>> 
>>>>>>> Sep  6 09:56:43 vm clamd[2108]: Reading databases from /var/lib/clamav
>>>>>>> Sep  6 09:57:17 vm clamd[2108]: Database correctly reloaded (10742128 ...
>>>> 
>>> Why everyone needs two minutes for this task, independent from which
>>> hardware is used, is a puzzle to me. Anyone who has the clamd .cvd
>>> files loaded on a fast SSD storage ?
>> 
>> My original point was that its heavily CPU bound.
>> 
>> As you can see from the logs I initally posted the speed difference 
>> between a CPU from 2005 and 2019 is 6 times (3 minutes vs 30 seconds).
>> 
> 
> So what about the number of correctly reloaded signatures ? I notice 
> you have about 10 million, someone else reported 8 million signatures 
> as of Sept 6, I currently read from my clamd logfile :
> 
> Sat Sep  7 10:54:10 2019 -> SelfCheck: Database status OK.
> Sat Sep  7 11:04:13 2019 -> SelfCheck: Database status OK.
> Sat Sep  7 11:08:59 2019 -> Reading databases from /var/lib/clamav
> Sat Sep  7 11:11:07 2019 -> Database correctly reloaded (6309062 signatures)
> Sat Sep  7 11:21:07 2019 -> SelfCheck: Database status OK.
> Sat Sep  7 11:31:08 2019 -> SelfCheck: Database status OK.

The number will vary depending on whether or not you include unofficial signatures and the settings in freshclam.conf regarding what types of files you choose to scan or skip.

-Al-




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20190907/7bc7a352/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3907 bytes
Desc: not available
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20190907/7bc7a352/attachment.bin>


More information about the clamav-users mailing list