Hello List,
I have a little machine running Qmail+Vpopmail+Qmail-Scanner+ClamAV for little
over 14,000 people.
I started using qmail-scanner last Friday and am having problems with
CPU usage. The machine is a dual PIII 800MHz, 512MB ram, 1 120G WD hdd
and 1 20G Seagate hdd, running Slackware 9.1.
I have no problems running qmail and vpopmail without the scanning, with
this setup mail comes in and goes out without no delays. The problem
starts when I use the scanning, load average goes up to 40.5 and CPU
usage on both PROCS skyrockets to 80%, at this stage, mail delivery is a
royal pain, it takes about 33 seconds per email.
I configured Qmail-Scanner with the following options:
--scanner clamscan
--notify none
--add-dscr-hdrs no
--archive 0 --lang es_ES
--log-details syslog (I've switched this from syslog to "no" without good results)
--admin virusadmin
Can anybody give me information on what might be going on with this?
Maybe clamav hasnt been configured correctlly. Any help would be
greatlly appreciated.
Here is the info you might need,
concurrencyincomming: 50
concurrencylocal : 10
concurrencyremote : 120
qmail-smtpd/run:
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`
#QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue" export QMAILQUEUE
if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL" ]; then
echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
echo /var/qmail/supervise/qmail-smtpd/run
exit 1
fi
if [ ! -f /var/qmail/control/rcpthosts ]; then
echo "No /var/qmail/control/rcpthosts!"
echo "Refusing to start SMTP listener because it'll create an open relay"
exit 1
fi
exec /usr/local/bin/softlimit -m 15000000 \
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /usr/local/bin/rblsmtpd -r
bl.spamcop.net /var/qmail/bin/qmail-smtpd 2>&1
--
nelsong; (greetings from the heart of the sun.)
\____ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
-------------------------------------------------------
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