qmail and plesk and many in queue but not yet preprocessed
Jorge Delacruz
alterthegrid at yahoo.com
Thu Sep 20 12:09:17 MST 2007
You need to identify why the box is running with a load average of 3 (3.00 or more?). For a single CPU box, 3.00 is pretty high. I found a crude thumbrule (very crude) is a box starts slowing down when load is 0.7 * (number of CPU's). I try to keep all single CPU servers under 1.00.
Use ps or top to find the memory/CPU pigs. Use vmstat and iostat to get a better picture of the problem. psacct and acctg packages will help as well. I run a qmail mail server that processes 5000-7000 mails per day and it hardly ever runs over 0.10. (Single 2.8 GHz CPU, 1G RAM, IDE drive.)
JD
"Jeremy C. Reed" <reed at reedmedia.net> wrote:
I have an old plesk system where it continually has many "messages in
queue but not yet preprocessed" and the messages in queue gets more and
more behind. It accpets mails, but doesn't handle them quickly.
It doesn't have any noticable bottlenecks.
It appears to start doing this when ever the load average gets above
three. When I stop jobs and the load goes below, it starts delivering
again.
My questions:
- how to get qmail to report why the mail is "not yet preprocessed"? (This
is not indicated in my logs.)
(In the past I have had same problem due to lack of disk space -- but
qmail never logged about that either.)
- any config to look at that tells qmail to not preprocess based on some
condition?
Since this is plesk, it is not a DJB-standard system.
It has qmail-send running:
It uses xinetd to to handle smtp connections which then runs:
/var/qmail/bin/tcp-env -R /var/qmail/bin/relaylock \
/var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true \
/var/qmail/bin/cmd5checkpw /var/qmail/bin/true
Any suggestions to look at would be appreciated.
Jeremy C. Reed
p.s. We are migrating from this system, but in the meanwhile I need to
keep it alive.
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
---------------------------------
Check out the hottest 2008 models today at Yahoo! Autos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20070920/aecaa9d2/attachment.htm
More information about the PLUG-discuss
mailing list