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

Thomas Barth tbarth at txbweb.de
Thu Sep 5 09:16:29 UTC 2019


Am 2019-09-05 09:14, schrieb Sergey:
> On Thursday 05 September 2019, Thomas Barth via clamav-users wrote:
> 
>> Please, where can I change the interval value or times for loading
>> the databases?
> 
> You can run freshclam by cron for example.

ps aux | grep clam
clamav     439  0.0  0.0  51152 11360 ?        Ss   Aug12   2:37 
/usr/bin/freshclam -d --foreground=true
clamav    8522  2.6  8.3 1727312 1378476 ?     Ssl  Sep04  38:21 
/usr/sbin/clamd --foreground=true

freshclam just downloads the standard databases to keep them fresh.

In /etc/clamav/freshclam.conf you can set the check interval. That s ok.
# Check for new database 24 times a day
Checks 24


But it s /usr/sbin/clamd who loads the databases into memory. In 
/etc/clamav/clamd.conf there should be a value of 12 for an every two 
hour load, right? When I look for the value 12 I only can find the 
variable "MaxThreads 12"

It seems that the two hour loading is hardcoded in the daemon.



More information about the clamav-users mailing list