[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qmail
Subject:    Re: 451 qq crashed (#4.3.0)
From:       "Dave Sill" <de5 () sws5 ! ornl ! gov>
Date:       2003-04-29 19:45:12
[Download RAW message or body]

"Mark Sturman" <Mark.Sturman@pacelabs.com> wrote:

>I'm using qmail as an Internet mail gateway that handles about 6000
>emails in and 4000 emails out per day.  It ran fine and I added
>qmail-scanner to use SpamAssassin and ClamAV antivirus and it has ran
>fine for months.  Now, however, I get many outgoing emails returned
>with the error 451 qq crashed (#4.3.0).  Dave Sill's "The qmail
>Handbook" says this could be due to the softlimit setting being too
>low.  It was at 32,000,000 and I raised it to 64,000,000 but still
>get the error.  When I turn off the qmail-scanner, the errors go
>away.

Temporarily disable softlimit to determine whether it's a memory limit
problem or a qmail-scanner problem. Change:

 #QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" export QMAILQUEUE
 exec /usr/local/bin/softlimit -m 64000000 \
      /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
 -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd 2>&1

To:

 QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" export QMAILQUEUE
 #exec /usr/local/bin/softlimit -m 64000000 \
 exec  /usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
 -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd 2>&1

Then "svc -t /service/qmail-smtpd". If that fixes the problem, then
something like upgrading glibc or perl has dramatically altered
qmail-scanner's memory requirements, and you just need to raise
softlimit until it works.

If that doesn't fix it, you might want to check with the qmail-scanner
list.

>Also, the queue has a lot of messages:
>messages in queue: 11774
>messages in queue but not yet preprocessed: 0

Could be just a normal spam flood. Check your logs.

-Dave
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic