[Pkg-clamav-devel] Bug#975401: Bug#975401: clamav-daemon: clamd uses large amounts of memory

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Tue Jun 29 21:18:05 BST 2021


On 2020-11-21 18:06:30 [+0100], Stephen Kitt wrote:
> I noticed that clamd now uses large amounts of memory:
> 
> clamav    1006  1.9  3.6 1405692 1186776 ?     Ssl  17:53   0:12 /usr/sbin/clamd --foreground=true

1.1g RES here.

> I don’t remember it doing so until the last few weeks. Restarting it
> or even rebooting doesn’t fix things.
> 
> What can I do to help investigate the causes?

It grew overtime, I guess this is mostly the database that grew. Since
103 it jumps to twice as much during reload since it does not block scan
requests but creates a new database and switches once it is complete.

That said I have no idea. I could forward this upstream if the size
could checked / documented or so. I remember half a year ago (or so) it
was less than 1GiB.

> Regards,
> 
> Stephen

Sebastian



More information about the Pkg-clamav-devel mailing list