About AntiVirus load time

Nicola Piazzi Nicola.Piazzi at gruppocomet.it
Fri Dec 28 13:19:30 UTC 2018

Hi everyone
I found that antivirus scanning, 4 example clamscan, takes a long time and cpu to load it and less 4 scan file
This is an example :
time /usr/bin/clamscan --database /var/lib/clamav3 /var/spool/MailScanner/quarantine/20181214/nonspam/1595B20064.A5116
----------- SCAN SUMMARY -----------
Known viruses: 6899927
Engine version: 0.100.2
Scanned directories: 0
Scanned files: 1
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 15.838 sec (0 m 15 s)

real    0m15.843s
user    0m14.934s
sys     0m0.905s

So it takes 15 secs of cpu to do a scan of a single email, sigh
If i scan entire dir it take a little bit more, so the time is spent to load libraries itself
Is possible to have it in memory so we can do it faster and less cpu expensive ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20181228/02f65237/attachment.html>

More information about the MailScanner mailing list