On Thu, Nov 11, 1999 at 10:39:42AM -0500, Dave Sill wrote:
> >I have just moved a mailing list to qmail/ezmlm. The list has a little over
> >1800 users and I am finding that the mailq is running at about 20K
> >messages. I added the /var/qmail/control/concurrencyremote file with a
> >value of 75. Sometimes it is running at 75 remotes but more often it is at
> >13-15. Is there any way to get qmail to push more of the messages through?
>
> Give it the resources it needs. Probably I/O bandwidth on the queue
> disk, but could also be CPU, memory, or network bandwidth. Since qmail
> isn't able to reach the concurrency limit you've set, the problem is
> not pushing qmail, but giving it what it needs.
I've encountered the same problems and did some debugging.
As far as I think I have tracked it down it's kind of a "weakness" of
qmail-send scheduling:
Each iteration of the processing loop gives at most one message to
qmail-lspwan, qmail-rspawn and takes one message from the queue.
As long as there are messages in the queue qmail will not fill up the
concurrency limits. Even with the big-todo patch from Russ processing
the todo queue takes relatively long time. Thus you have the effect
that deliveries (even remote) take as long as inserting new messages
to the queue. This results in the effect that qmail is not "filling up"
the delivery queues and gives the impression that one makes no progress.
This happens even more, if some of the deliveries result in bounces,
as new messages are added to the todo-queue.
IMHO (as remote deliveries usually tend to take more time) it would
be fine, if qmail-send could spend a few more cycles filling up the
delivery queues to concurrency max (or (max-cur)/2 + cur) in each iteration,
as this is handled by separate process(es) anyway.
However I didn't have the time to *fully* dig into the code, so my
analysis could be wrong.
\Maex
--
SpaceNet GmbH | http://www.Space.Net/ | Yeah, yo mama dresses
Research & Development | mailto:[EMAIL PROTECTED] | you funny and you need
Joseph-Dollinger-Bogen 14 | Tel: +49 (89) 32356-0 | a mouse to delete files
D-80807 Muenchen | Fax: +49 (89) 32356-299 |