-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Apr 25, 2007 at 01:00:43AM +0200, Urban Hillebrand wrote:
>With the newly introduced delays during the initialization of clamscan this >would cause us significant problems. So my question is: Will this get fixed, >or is this "working as expected"? Most of us have found that sluggishness is due to there being two copies of the virus database being loaded (which means everything is scanned for most of the viruses twice). Take a look at your clamd logs. If you see something like: Tue Apr 24 06:31:42 2007 -> Database correctly reloaded (216119 signatures) then you know something is wrong since there is only around 112000 signatures. If this applies to you, the simple fix as documented in other emails is: rm -rf /var/clamav/* # or wherever your clamav virus definitions live freshclam # I added -v to see what was happening and to # make sure it was going to the expected directory And you can tell that it worked because: Tue Apr 24 09:55:51 2007 -> Database correctly reloaded (111619 signatures) The latest db updated resulted in: Tue Apr 24 23:01:10 2007 -> Database correctly reloaded (112128 signatures) Compare to your numbers. In my case, this only happened on machines that I upgraded from 0.90.0 to 0.90.2. This happened both on my Gentoo box and on my CentOS boxen. My Mandriva box did not experience this, so Mandriva did something right during the upgrade path (I didn't see anything special in the rpm scripts, so I'm not sure what exactly happened that caused it to not experience the problem). - -- Regards... Todd When engineers want simple solutions to complicated social problems, freedom is the first victim... --Stephane Bortzmeyer Linux kernel 2.6.17-6mdv 3 users, load average: 0.10, 0.08, 0.01 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFGL1Y7Y2VBGxIDMLwRAkShAJ0Vkf0iu8B8+pfcXa2yU6mePuwP4wCfcClh YLvB6uOsZHUf5rGSy2F4nI4= =OooY -----END PGP SIGNATURE----- _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html