On 12/21/2010 12:35 PM, Török Edwin wrote: > You need to test with an older bytecode.cvd, because the latest one has > a workaround (0.96.3 loads it fast now because it doesn't load the new > bytecodes at all). > > Attached bytecode.cvd version 103 for you to test. > ClamAV 0.96.3 takes 2.5 minutes to load it on my box (probably much more > on slower ones): > $ time clamscan --quiet -dbytecode.cvd /dev/null > > real 2m32.461s > user 2m32.287s > sys 0m0.117s > > ClamAV 0.96.4 and 0.96.5 takes less than a second to load same CVD. > $ time clamscan --quiet -dbytecode.cvd /dev/null > > real 0m0.591s > user 0m0.500s > sys 0m0.040s
Indeed. I've tested it like you suggested, with your bytecode.cvd, and I did get the long startup times on both Maverick and Lucid, two separate machines: gi...@ximi:~/Desktop$ time clamscan --quiet -dbytecode.cvd /tmp LibClamAV Warning: *********************************************************** LibClamAV Warning: *** This version of the ClamAV engine is outdated. *** LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq *** LibClamAV Warning: *********************************************************** real 3m20.331s user 3m20.080s sys 0m0.190s After upgrading to -proposed, the problem got resolved: gi...@ximi:~/Desktop$ time clamscan --quiet -dbytecode.cvd /tmp real 0m0.578s user 0m0.550s sys 0m0.020s gi...@ximi:~/Desktop$ apt-cache policy clamav clamav: Installed: 0.96.5+dfsg-1ubuntu1.10.10.1 Candidate: 0.96.5+dfsg-1ubuntu1.10.10.1 Version table: *** 0.96.5+dfsg-1ubuntu1.10.10.1 0 500 http://ro.archive.ubuntu.com/ubuntu/ maverick-proposed/main amd64 Packages 100 /var/lib/dpkg/status 0.96.3+dfsg-2ubuntu1.2 0 500 http://ro.archive.ubuntu.com/ubuntu/ maverick-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu/ maverick-security/main amd64 Packages 0.96.3+dfsg-2ubuntu1 0 500 http://ro.archive.ubuntu.com/ubuntu/ maverick/main amd64 Packages And on Lucid: gi...@voy:~/Desktop$ time clamscan --quiet -dbytecode.cvd /tmp real 0m0.561s user 0m0.540s sys 0m0.020s gi...@voy:~/Desktop$ apt-cache policy clamav clamav: Installed: 0.96.5+dfsg-1ubuntu1.10.04.1 Candidate: 0.96.5+dfsg-1ubuntu1.10.04.1 Version table: *** 0.96.5+dfsg-1ubuntu1.10.04.1 0 500 http://archive.ubuntu.com/ubuntu/ lucid-proposed/main Packages 100 /var/lib/dpkg/status 0.96.3+dfsg-2ubuntu1.0.10.04.2 0 500 http://ro.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages 500 http://ro.archive.ubuntu.com/ubuntu/ lucid-security/main Packages 0.96+dfsg-2ubuntu1 0 500 http://ro.archive.ubuntu.com/ubuntu/ lucid/main Packages Confirmed that -proposed packages fix the bug. -- Imre Gergely Yahoo!: gergelyimre | ICQ#: 101510959 MSN: gergely_imre | GoogleTalk: gergelyimre gpg --keyserver subkeys.pgp.net --recv-keys 0x34525305 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/691414 Title: clamav taking extremely long time to load database -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs