On 13/02/2023 14:11, Maurizio Caloro wrote:
Entirely possible. As I recall, clamav-daemon caches the virus definitions in RAM in order to minimise startup speed when handling clients.hello Debian group here iam running Debian 10.13, clamav 0.103.7+dfsg-0+deb10u1 but it's this possible that clamav-daemon use 1.2G memory?
In other words, if you're only scanning for viruses occasionally (e.g. mails which have an attachment), you might find switching from "clamdscan" to "clamscan" and not running the daemon suits your purpose.
Depending on your system architecture, you could consider running "clamdaemon" on a different host, and configuring "clamdscan" to use a TCP socket. This is particularly beneficial if you have several hosts which need to perform scanning as they can all pass their payload to the central scanning host, and you don't need multiple instances of the daemon.try to punish little without getting any negative effects. try to enclose, but after 4-5h the mailserver will freez/break
YMMV.
OpenPGP_signature
Description: OpenPGP digital signature