Paul Norris wrote:
Hi all,

I'm having weirdness from qmail-scanner/clamscan. Firstly, here is what

...


Thu, 18 Mar 2004 13:24:45 +1100:21327: --output of clamscan was:
--
--return code was: 11 --

I had this exact same problem a couple of months ago - basically what's happening is that clamscan is more memory than your SOFTLIMIT allows and is getting killed before it can scan anything. There are two ways to fix this:


1) Increase your SOFTLIMIT so clamscan can run

2) Start clamd and connect to it with clamdscan from qmail-scanner. This means that clamscan is not run in the same process so the memory limits aren't of concern.

I went with the second option because it was easier, plus this could theoretically allow you to move the virus scanning daemon to another machine for load balancing if needed.

--

.o0O0o.__.o0O0o.__.o0O0o.__.o0O0o.__.o0O0o.__.o0O0o.__.o0O0o.
| Matt Kunze                      Sometimes there's a point.|
| Build Master Fooly Fool         This is not one of those  |
| DataSplice Software Developer   times.                    |
=============================================================



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to