[Bug 1907312] Re: clamd takes 7% of ram

2020-12-09 Thread PascalC
With the following combinaison of parms, it seems to work better :) root@minipc:/lib/systemd/system# cat clamav-daemon.service [Unit] Description=Clam AntiVirus userspace daemon Documentation=man:clamd(8) man:clamd.conf(5) https://www.clamav.net/documents/ # Check for database

[Bug 1907312] Re: clamd takes 7% of ram

2020-12-09 Thread PascalC
I've started the unit with MemoryHigh=512M because MemoryLimit would kill the process I see that systemd has accepted the parameter, but the process still takes 1.1G : Memory: 1.1G (high: 512.0M) as seen in the status report : # systemctl status clamav-daemon.service ● clamav-daemon.service

[Bug 1907312] Re: clamd takes 7% of ram

2020-12-09 Thread PascalC
Hello. Well first I valgrinded clamd to see if any memory leak was detected. To my knowledge it seems not. Then I googled on this behaviour and found lots of people complaining of ram footprint of clamd. In fact this behaviour seems linked to the necessity of loading all virus database in ram

[Bug 1907312] Re: clamd takes 7% of ram

2020-12-09 Thread Sergio Durigan Junior
Hi, thanks for reporting the bug. Before anything else, I would like to ask if there is any particular reason why you marked the bug as Invalid. Have you perhaps found the problem or a workaround? If that is the case, then could you update this bug and post what you've found? Maybe other users

[Bug 1907312] Re: clamd takes 7% of ram

2020-12-08 Thread PascalC
any means to limit the ram consumption of clamd ? ** Changed in: clamav (Ubuntu) Status: New => Invalid ** Converted to question: https://answers.launchpad.net/ubuntu/+source/clamav/+question/694421 -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1907312] Re: clamd takes 7% of ram

2020-12-08 Thread PascalC
** Attachment added: "clamd ram" https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/1907312/+attachment/5442131/+files/2020-12-08_23-40-47.png ** Tags added: apport-collected ** Description changed: the clamd process takes more than 7% of system RAM as soon as it starts Since my