[clamav-users] Continuous increase of startup time (is daily.cld broken?)

Reio Remma reio at mrstuudio.ee
Thu Oct 17 12:42:38 EDT 2019


On 17.10.2019 19:04, Micah Snyder (micasnyd) via clamav-users wrote:
> Vladislav, Ged:
>
> Reloading select databases is not feasible at this time, because signatures are loaded into the same structures in memory and that entire thing is recreated on reload.
>
> Regarding the threaded reload feature ( ticket: https://bugzilla.clamav.net/show_bug.cgi?id=10979 )...
>
> The main reason the "threaded reload" patch is held back at present is primarily because the recent work and interest in the patch came at the same time that 0.102 development was in code freeze while we tested and applied bug fixes for release.  Reloading in a separate thread means that the memory usage will double (going from roughly ~750MB to ~1500MB) during the reload before it frees the original signatures and drops back to ~750MB.
>
> We already have many complaints about freshclam and clamd memory usage, and this change in behavior could cause trouble for some users, so we want to provide an option to reload the traditional way.  That's the second reason why the patch isn't been merged for 0.103 yet.  We have to dedicate some time to code the ability to reload either way.  It is absolutely on our to-do list.

Great to hear work is ongoing.

I've switched to patched 0.104 just this hour.

I can easily deal with higher memory usage, but loss of service for 1-3 
minutes is much harder to deal with.

Thanks!
Reio


More information about the clamav-users mailing list