[clamav-users] scanning of a 1MB exe files takes up to 130seconds on a single core xeon cpu - is that normal?

J.R. themadbeaker at gmail.com
Wed Jul 31 13:45:28 UTC 2019


> Why is this so slow? I see almost 100% cpu. But seriously on a 1MB file 2
> mines? What could cause this high load? Can i speed this up a bit with kind
> of cache or something?

Basically what Iulian said... When running 'clamscan' it takes a while
(especially if you have 3rd party rules) to load & parse them all into
memory.

A much more efficient way is to have the 'clamd' service running and
use 'clamdscan'. The only catch is user/file permissions as typically
clamd runs as its own user.



More information about the clamav-users mailing list