[clamav-users] How to boost clamav? Reloading database results in a talking timeout?
Reio Remma
reio at mrstuudio.ee
Fri Sep 6 07:07:29 UTC 2019
On 04/09/2019 23:44, Micah Snyder (micasnyd) via clamav-users wrote:
> The database load process reads signatures and uses the data to populate a couple of pseudo-tries (https://en.wikipedia.org/wiki/Trie). The tries themselves could only be modified by a single thread at a time, with a mutex around each trie. There might be some performance to be gained by using multiple threads. I'm not certain. Definitely a bunch of thread safety code would need to be written.
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
signatures)
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
signatures)
Reio
More information about the clamav-users
mailing list