[clamav-users] Scan very slow
jmedard at amv-sa.fr
jmedard at amv-sa.fr
Mon Mar 18 16:27:36 UTC 2019
Very interesting.
Do you think we should make a bug-report?
Regards
De : Maarten Broekman <maarten.broekman at gmail.com>
Envoyé : lundi 18 mars 2019 15:14
À : ClamAV users ML <clamav-users at lists.clamav.net>
Objet : Re: [clamav-users] Scan very slow
We've noticed a marked increase in scan times over the last couple of weeks as well. From the look of it, there's something in the daily file that's causing it. Whether this is similar to the safebrowsing issue (where the ordering of entries in the file caused a 3000% increase in time) is unclear.
--Maarten Broekman
Full scans without the daily cvd/cld: Scan time ~60seconds
Full scans with the daily from March 11th: Scan time: 84seconds
Full scans with the daily from March 17th: Scan time: 109seconds
~/clamav# ls -larth /tmp/clamdtest*/daily.cld
-rw-r--r-- 1 clamav clamav 110M Mar 11 04:15 /tmp/clamdtest2/daily.cld
-rw-r--r-- 1 clamav clamav 113M Mar 17 04:15 /tmp/clamdtest/daily.cld
~/clamav# wc /tmp/clamdtest*/daily.cld
1514589 1517471 115031552 /tmp/clamdtest2/daily.cld
1524782 1527664 118202368 /tmp/clamdtest/daily.cld
Single file scans with JUST the daily.cld:
~/clamav# time /opt/clamav/clamav/bin/clamscan -d /tmp/clamdtest2/daily.cld test42.js
test42.js: OK
----------- SCAN SUMMARY -----------
Known viruses: 1504423
Engine version: 0.100.2
Scanned directories: 1
Scanned files: 1
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 5.255 sec (0 m 5 s)
real 0m5.260s
user 0m5.044s
sys 0m0.192s
~/clamav# time /opt/clamav/clamav/bin/clamscan -d /tmp/clamdtest/daily.cld test42.js
test42.js: OK
----------- SCAN SUMMARY -----------
Known viruses: 1514543
Engine version: 0.100.2
Scanned directories: 1
Scanned files: 1
Infected files: 0
Data scanned: 0.00 MB
Data read: 0.00 MB (ratio 0.00:1)
Time: 9.300 sec (0 m 9 s)
real 0m9.329s
user 0m9.100s
sys 0m0.204s
On Mon, Mar 18, 2019 at 10:02 AM Yasuhiro KIMURA <yasu at utahime.org <mailto:yasu at utahime.org> > wrote:
From: Jean-Michel via clamav-users <clamav-users at lists.clamav.net <mailto:clamav-users at lists.clamav.net> >
Subject: Re: [clamav-users] Scan very slow
Date: Mon, 18 Mar 2019 12:30:49 +0100
> Isn't it the second scan result ? The second analyse on same file is faster.
> Could tou try to restart clamav-daemon and re-do the analyse with clamdscan.
> I've tried it on 3 computers, all are above 40seconds
It was first trial. But after restarting clamav-daemon result changed
as following.
yasu at kusanagi[1716]% clamdscan esploso_A3TH.pdf
/home/yasu/tmp/esploso_A3TH.pdf: OK
----------- SCAN SUMMARY -----------
Infected files: 0
Time: 60.551 sec (1 m 0 s)
yasu at kusanagi[1717]%
---
Yasuhiro KIMURA
_______________________________________________
clamav-users mailing list
clamav-users at lists.clamav.net <mailto:clamav-users at lists.clamav.net>
https://lists.clamav.net/mailman/listinfo/clamav-users
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20190318/55f5ef10/attachment.htm>
More information about the clamav-users
mailing list