Message Batches

Julian Field mailscanner at ecs.soton.ac.uk
Thu May 15 18:49:54 IST 2003


At 17:35 15/05/2003, you wrote:
>It got me thinking - would it not be more efficient for each child to work
>to the batch size using the following:  total messages in queue/max number
>of children = batch size per child - which would clear the queue more
>efficiently???

At the moment, any child takes as many messages as it can up to the limits
set in the batch size parameters.
Counting the total number of messages that *can* be scanned is actually
quite an expensive operation. At the moment it only has to be done once as
messages are date-sorted then put in the batch. The file-locking operation
only has to be done once.

Changing to the method you suggest could only be done by adding them all to
the batch and then by removing all the excess ones you don't want. Which
means you need to remember what order they were added.
Possible, but messy.


>Or - do I have something incorretly configured?? - I'm running MS 4.20-3 +
>SA 2.54 on RedHat 9 + Sendmail.
>
>TIA,
>Steve.
>--
>Steve Freegard
>Systems Manager
>Littlehampton Book Services Ltd.
>
>--
>This email and any files transmitted with it are confidential and
>intended solely for the use of the individual or entity to whom they
>are addressed. If you have received this email in error please notify
>the sender and delete the message from your mailbox.
>
>This footnote also confirms that this email message has been swept by
>MailScanner (www.mailscanner.info) for the presence of computer viruses.

--
Julian Field
www.MailScanner.info
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list