The solution worked thank you very much. We also found that there are two copies of the virus database being loaded
Gareth On Monday, 7 May 2007, Anton Yuzhaninov wrote: > Hello, Gareth. > > You wrote on Monday, May 7, 2007, 11:26:16 AM: > > I am running clamav with qmail on Red Hat Enterprise Linux AS release 4 > > and i have recently upgraded to clamav-0.90.2. Clamd's cpu usage shotup > > to an average between 400% and 500%(8 cpu's), even though the amount of > > virusses did'nt increase that much. > > clamav-0.90.2 compare to 0.88.7 have several changes, with increase > CPU usage. > > Some of them: > > 1. Excessive memory allocations in matcher-ac.c > > I suggest use this patch: > https://wwws.clamav.net/bugzilla/show_bug.cgi?id=434 > Or use latest svn version, where committed other > Aho-Corasick pattern matcher implementation. > > 2. Early scanning in libclamav/blob.c > I suggest to turn it off. > > Change > #define MAX_SCAN_SIZE 20*1024 > to > #undef MAX_SCAN_SIZE _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
