Improving speed in picking up messages from incoming queue

Julian Field mailscanner at ecs.soton.ac.uk
Thu Jul 25 18:11:07 IST 2002


At 15:55 25/07/2002, you wrote:
>Julian Field wrote:
>
>>That's fine. On a quiet machine you could quite safely reduce it by a
>>factor of 10. After all, 30 is a number I pulled out of thin air anyway :-)
>
>Could you please include this as a configurable parameter in a next
>release (no hurry at all) ?

Adding the code is the easy bit...
The trouble is working out how to explain it in 2 lines of text. It's such
a "techie" tweak, and it never affects people with busy servers, that it's
hard to justify the extra config parameter for it.

What I might do is just drop it to 5 seconds in the next release. The busy
servers never use it anyway, and the quiet ones will suddenly appear to
work faster.


>My little help, diffs from 3.22-7, from my understanding, should not
>break anything...
>
>[packager at boomer bin]$ diff mailscanner.orig mailscanner
>265c265
><   sleep(30), next unless @MessagesIn;
>---
> >   sleep($Config::PickUpTimer), next unless @MessagesIn;
>
>
>[packager at boomer bin]$ diff config.orig config.pl
>158a159
> > $Config::PickUpTimer           = 30;
>289c290
><
>---
> >     $Config::PickUpTimer       = $value if $key =~ /^pickuptimer$/i;
>
>
>Thanks in advance... it will help my future upgrades.
>
>--
>Thierry Carrez

--
Julian Field                Teaching Systems Manager
jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
Tel. 023 8059 2817          University of Southampton
                             Southampton SO17 1BJ



More information about the MailScanner mailing list