On Mon, 26 Jul 2004 15:28:07 -0700 (PDT), "Âhris" mckeever <[EMAIL PROTECTED]> wrote: > --- ïhris mckeever <[EMAIL PROTECTED]> wrote: > > I get this when running qmail-scanner 1.22 and > > clamscan .75 - > > command line clamscan works fine, same cl > > arguements... > > > > I have upgraded to .75, I have removed the .cvd > > files > > and manually ran freshclam (I am not sure why the > > error calls virus.db - thinking it is a > > temp file created) > > > > There is at least 150MB of free memory > > > > > > LibClamAV Error: readdb(): Malformed pattern line > > 21327 (file > > > /var/spool/qmailscan/tmp/prupref-mailgate109085904848026536/clamav- > > > > 08a702a225a402a3/viruses.db). > > LibClamAV Error: cli_calloc(): Can't allocate memory > > (8 bytes). > > > > anyone have any ideas? > > I switched qmail-scanner over to use clamdscan rather > than clamscan - it now finds the virii that were > getting through - > > so - 2 items > > 1 - anyone have an idea why clamscan itself would > die?? > 2 - is there a way to ensure that clamd doesnt die (or > starts itself again if so) >
clamscan is dying because you aren't allocating enough memory using the softlimit function. Take a look at the qmail-scanner FAQ. The reason clamdscan is working it because it takes less memory to run then clamscan. I don't have many problems with clamd dying... but you could setup daemontools to monitor it and restart if it dies. -Steve -- Steve Lenti | [EMAIL PROTECTED] > SELECT * FROM users WHERE clue > 0; 0 rows returned ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idG21&alloc_id040&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
