Have you tried to set the concurrency limits?

In /var/qmail/control create a file called concurrencyremote and concurrencysmtpd. The contents looks like this....

[EMAIL PROTECTED] control]# cat concurrencyremote
2

I know under load on slower machines qmail comes to a griding halt when a whole lot of qmail-scanner instances are running. If your CPU is being hoged and you have many smtpd connections the qmail-scanner processes will be starved and thus causing your box to grind to a halt.

The output below seems ok.

Tim Clarke wrote:

Daniel.
"ps -auxww |grep qmail" yields:

root      1637  0.0  0.0  1384  132 ?        S    Apr28   0:00 supervise
qmail-pop3d
root      1639  0.0  0.0  1384  144 ?        S    Apr28   0:00 supervise
qmail-send
root      1641  0.0  0.0  1412   84 ?        S    Apr28   0:00
/usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup
man2.m1.manifest.co.uk /usr/local/bin/checkcdb
/var/qmail/bin/qmail-pop3d Maildir
qmails    1643  0.0  0.0  1444  216 ?        S    Apr28   0:00
qmail-send
root      1644  0.0  0.0  1388  136 ?        S    Apr28   0:00 supervise
qmail-smtpd
root      1651  0.0  0.0  1400   84 ?        S    Apr28   0:00
qmail-lspawn ./Maildir/
qmailr    1652  0.0  0.0  1400  172 ?        S    Apr28   0:00
qmail-rspawn
qmailq    1653  0.0  0.0  1392  160 ?        S    Apr28   0:00
qmail-clean
qmaild    1658  0.0  0.0  1456  164 ?        S    Apr28   0:00
/usr/local/bin/tcpserver -v -R -l man2.m1.manifest.co.uk -x
/etc/tcp.smtp.cdb -c 20 -u 503 -g 503 0 smtp rblsmtpd -r relays.ordb.org
/var/qmail/bin/qmail-smtpd
qmaill   27807  0.0  0.0  1404  176 ?        S    04:03   0:00
/usr/local/bin/multilog t s999999 n999 /var/log/qmail
qmaill   27810  0.0  0.0  1404  148 ?        S    04:03   0:00
/usr/local/bin/multilog t s999999 n999 /var/log/qmail/smtpd
qmaill   27813  0.0  0.0  1400  140 ?        S    04:03   0:00
/usr/local/bin/multilog t s999999 n999 /var/log/qmail/pop3d
root     28818  0.0  0.1  1740  608 pts/3    S    08:01   0:00 grep
qmail

Is that "-c 20" what I'm hunting for to limit the inbound connections? I
know where it is in the qmail supervise scripts, presumably it just
means that we'll be throttling mail delivery somewhat? Obviously I'm
looking for a cure for the hang, so would setting it down to say, 5, be
too aggressive?

Tim Clarke

-----Original Message-----
From: Daniel Czarnecki [mailto:[EMAIL PROTECTED] Sent: 29 April 2004 00:23
To: Tim Clarke
Cc: [EMAIL PROTECTED]
Subject: RE: [Qmail-scanner-general](no subject)



what does


ps -auxww |grep qmail

give you?

--
Kind Regards,

Dan


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general





------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to