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.
_______________________________________________
clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml