[clamav-users] clamd cache (was Re: clamscan --disable-cache)
G.W. Haywood
clamav at jubileegroup.co.uk
Sat Oct 3 11:18:38 UTC 2020
Hello again,
On Sat, 3 Oct 2020, G.W. Haywood via clamav-users wrote:
> Stay tuned.
Perhaps try enabling libclamav debug logging.
During your scans I suspect that ClamAV may be reaching some limit(s)
which is causing caching to be disabled. The limits are mostly
tunable (in some cases perhaps care may be needed to avoid a DOS).
In libclamav/scanners.c look for the function
static void emax_reached(cli_ctx *ctx)
and for calls to it.
There will at least be debug messages when some of the calls to that
function occur, but perhaps not all, which might be an issue to be
addressed - along with some other logging issues that have already been
identified in other discussions. It will be very easy to include some
extra logging if need be.
--
73,
Ged.
More information about the clamav-users
mailing list