On Tue, 27 Feb 2001, Brandon Yu wrote:
> The messages themselves have been pre-generated and exist as a file and is
> qmail-injected to place them in the queue. The message is the same across
> the board with the exception of some personalization, such as the name.
> Since there are so many messages, we use a perl script to place them in the
> queue at a certain rate, i.e. 50 msgs/second, or whatever rate we choose. By
> injecting them at this rate, we can see whether qmail can keep up with our
> intended rate. With this in mind, does this lessen the burden of disk I/O?
Don't use qmail-inject unless you have to. Use qmail-remote directly.
If qmail-remote reports a transient failure, then inject them into the
queue for later delivery. If qmail-remote reports a permanent failure
then the message cannot be delivered so it can be ignored.
See the qmail-remote man page for driving instructions.
Using qmail-inject will increase your disk I/O and impose qmails
concurrency limits. If you use qmail-remote directly you can bybass
these limits and impose your own :)
--
Regards
Peter
----------
Peter Samuel [EMAIL PROTECTED]
http://www.e-smith.org (development) http://www.e-smith.com (corporate)
Phone: +1 613 368 4398 Fax: +1 613 564 7739
e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada
"If you kill all your unhappy customers, you'll only have happy ones left"