On Tue, Feb 27, 2001 at 08:11:10PM +0100, Peter van Dijk wrote:
> As long as you are injecting messages, qmail won't perform at full
> speed. Play with that rate, maybe no limiting *is* the best option.

Maybe an idea would also be to "disable" the trigger mechanism in
qmail-queue/qmail-send (changing permission on trigger would be sufficient)
and change qmail-send's sleep timeout to some 60 seconds.
This can be easily done by changing qmail-send:

#define SLEEP_TODO 1500 /* check todo/ every 25 minutes in any case */

This would cause qmail to "bulk", i.e. scan todo and organize, send out
the mails, and then start again.

With that one could measure (system and bulk job dependant) how many
emails qmail can send out in a certain interval.
Then one could synch the SLEEP_TODO and the number of injects per
SLEEP_TODO.

        \Maex

P.S. as some ppl wondered ... no, i didn't get lost ;-) only had no time
  to read the list which bestowed me 1200 unread messages :/ but I'm
  nearly though ;-)

-- 
SpaceNet AG            | Joseph-Dollinger-Bogen 14 | Fon: +49 (89) 32356-0
Research & Development |       D-80807 Muenchen    | Fax: +49 (89) 32356-299
Stress is when you wake up screaming and you realize you haven't fallen
asleep yet.

Reply via email to