On Tue, Feb 27, 2001 at 02:06:52PM -0500, Dave Sill wrote:
> qmail-send won't
> dispatch messages to qmail-local or qmail-remote while there are
> messages in queue/todo.
I've been thinking about this issue, and was wondering if it would be
possible to fix this in some simple way. Would it be possible to modify
qmail-send to always handle known messages before scanning todo? Or to
make it defer scanning todo after it hits a certain number of messages
so it can process other events and then come back to scanning?
I tried instrumenting qmail-send to see where things were hanging up,
but was having difficulty following the flow of control. It was
certainly easy to reproduce the problem -- stop qmail-send, put 100
messages in the todo, start qmail-send, and watch as only a few
deliveries get started before qmail-send stop scanning todo.
Is the problem as simple as this, or is it an artifact of the I/O
generated by qmail-send causing the other tasks to block?
--
Bruce Guenter <[EMAIL PROTECTED]> http://em.ca/~bruceg/
PGP signature