When I was reading through the qmail-scanner install instructions, I did see where 
they mentioned to boost the allowed memory for qmail-scanner/clamav/spamassassin.  
However when I looked into the config files, I didn't find any entries for limiting 
memory.  Perhaps I just missed it somewhere?  I'll take a look at the qmail-smtpd run 
file again though.

Shawn

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Mike Roest
Sent: Friday, February 20, 2004 7:10 AM
To: CLUG General
Subject: Re: [clug-talk] qmail and SpamAssassin?


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Shawn wrote:


| usr/bin/clamscan -r
- --tempdir=/var/spool/qmailscan/snow107717516442614714 -
| -disable-summary --unzip --unrar --unace --unarj --$
| 19/02/2004 00:19:24:14714: --output of clamscan was:
| LibClamAV Error: readdb(): Malformed pattern line 13883 (file
| /var/spool/qmailscan/snow107717516442614714/00eb91ff0bbc24b5/viruses.db).
| LibClamAV Error: Can't gzdopen() descriptor 5
| LibClamAV Error: cli_cvdload(): Can't unpack CVD file.
| ERROR: CVD extraction failure.
| --
| 19/02/2004 00:19:24:14714: tempfail: X-Qmail-Scanner-1.16: clam_scanner:
| corrupt or unknown ClamAV scanner error or memory/resource/perms problem -
| exit status$

This looks like the clamac is running out of memory.  Are you using
softlimit in your qmail-smtpd run file.  If so I would try doubling the
memory that softlimit is giving to the smtpd process.  Adding spam and
virus scanning usually requires 2-3 times the memory of a vanilla smtpd.

- --
Mike
Site: http://www.blahz.org
GPG Key: http://www.blahz.org/gpg.asc
C'mon, Moe. It's been St. Patrick's day for hours now and I'm not drunk yet!
- --Homer Simpson

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFANhU6w+I3MvUBM6QRAhLFAJwIx9SO0SVSogxNtIMkxBGCP1RDKwCeNY9q
D07UAx/NvT/QKGJkUj88ocw=
=c7ib
-----END PGP SIGNATURE-----


_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca

_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca

Reply via email to