Re: [Clamav-devel] Best way to introduce feature to reduce memory footprint?

2019-09-22 Thread Per Jessen
Markus Kolb wrote: > Am 08.09.2019 19:28, schrieb Per Jessen: > >> This was discussed quite intensively on the openSUSE list just >> recently: >> >> Create /etc/systemd/system/clamd.service.d/memlimit.conf and add: >> >> MemoryLimit=500M (for instance) >> TimeoutSec=300s > > I've also

Re: [Clamav-devel] Best way to introduce feature to reduce memory footprint?

2019-09-09 Thread G.W. Haywood
Hello again, On Mon, 9 Sep 2019, Markus Kolb wrote: Am 08.09.2019 18:35, schrieb G.W. Haywood: > Perhaps you haven't been reading recent posts on the users' list. Which thread topic do you mean? The "How to boost clamav? Reloading database results in a talking timeout?"? Yes. Another

Re: [Clamav-devel] Best way to introduce feature to reduce memory footprint?

2019-09-09 Thread Markus Kolb
Am 08.09.2019 19:28, schrieb Per Jessen: This was discussed quite intensively on the openSUSE list just recently: Create /etc/systemd/system/clamd.service.d/memlimit.conf and add: MemoryLimit=500M (for instance) TimeoutSec=300s I've also cheered too soon. This doesn't always work as

Re: [Clamav-devel] Best way to introduce feature to reduce memory footprint?

2019-09-09 Thread Per Jessen
Markus Kolb wrote: > Am 08.09.2019 19:28, schrieb Per Jessen: >> Markus Kolb wrote: >> >>> Hey, >>> >>> I'd like to get some thoughts of reducing the memory footprint of >>> clamav (clamd)... >> > [...] >> MemoryLimit=500M (for instance) >> This reduces the working set according to your

Re: [Clamav-devel] Best way to introduce feature to reduce memory footprint?

2019-09-08 Thread Markus Kolb
Am 08.09.2019 18:35, schrieb G.W. Haywood: Perhaps you haven't been reading recent posts on the users' list. Which thread topic do you mean? The "How to boost clamav? Reloading database results in a talking timeout?"? ___ clamav-devel mailing

Re: [Clamav-devel] Best way to introduce feature to reduce memory footprint?

2019-09-08 Thread G.W. Haywood
Hi there, On Sun, 8 Sep 2019, Markus Kolb wrote: I'd like to get some thoughts of reducing the memory footprint of clamav (clamd)... My thought: Once upon a time they used to say that hardware accounted for 90% of the cost of a computer system; then they used to say it was more like 50/50;

[Clamav-devel] Best way to introduce feature to reduce memory footprint?

2019-09-07 Thread Markus Kolb
Hey, I'd like to get some thoughts of reducing the memory footprint of clamav (clamd)... Do you have already some ideas of the way to introduce a feature like this? Is my assumption correct that the loaded signature database in memory is the biggest part? So my idea would be to do