Released 4.50.8 --- Re: Time::HiRes for MessageBatch timing

Julian Field MailScanner at ecs.soton.ac.uk
Sun Jan 15 22:44:12 GMT 2006


Glad you like it.
Make sure you use the latest beta.
Good luck,
Jules.

Jeff A. Earickson wrote:
> Julian,
>   Thank you, thank you.  I'll roll this out tomorrow morning.  I went
> from 4.49.7 to 4.50.6 on Friday (the 13th!), and it has worked great!
> SA cache rates in the 40 to 50% range.  The system load ("sar" output)
> is down since the upgrade.  This is like a hardware upgrade for us.
>
> Jeff Earickson
> Colby College
>
> On Sun, 15 Jan 2006, Julian Field wrote:
>
>> Date: Sun, 15 Jan 2006 18:12:30 +0000
>> From: Julian Field <MailScanner at ecs.soton.ac.uk>
>> Reply-To: MailScanner discussion <mailscanner at lists.mailscanner.info>
>> To: MailScanner discussion <mailscanner at lists.mailscanner.info>
>> Subject: Released 4.50.8 --- Re: Time::HiRes for MessageBatch timing
>>
>> Now done. At the end of the batch, the wall-clock time taken to 
>> process that batch is logged.
>>
>> This is in 4.50.8, which I have just released.
>>
>> This version has added lots of command-line options that you can use 
>> to do things like
>>   - Check your configuration for errors (--lint)
>>   - Switch on "Debug = yes" (--debug)
>>   - Calculate the value of a configuration option,
>>     given a set of message values,
>>     to provide a ruleset checker and
>>     Custom Function checker (several options)
>>   - Display command line usage (--help)
>>
>> Don't forget that you can easily change the amount of logs generated 
>> by MailScanner by editing /etc/syslog.conf and changing the "mail" 
>> log priorities that are logged in /var/log/maillog. And if you don't 
>> want to do that, then change MailScanner.conf to log to "local0" 
>> instead of "mail" and separate it out into its own log channel 
>> completely.
>>
>>
>> Nerijus Baliunas wrote:
>>> Hi,
>>>
>>> if/when you do it, you could do it like spamassassin does - uses 
>>> Time::HiRes
>>> only when it is available. From SA INSTALL:
>>>
>>>   - Time::HiRes (from CPAN)
>>>
>>>     If this module is installed, the processing times are 
>>> logged/reported
>>>     more precisely.
>>>
>>> Nerijus
>>>
>>> On Thu, 24 Nov 2005 10:03:00 +0000 Julian Field 
>>> <MailScanner at ECS.SOTON.AC.UK> wrote:
>>>
>>>
>>>> This just didn't happen as I haven't had the time to add a whole 
>>>> new  Perl module to the MailScanner distribution.
>>>>
>>>> On 4 Nov 2005, at 16:27, Jeff A. Earickson wrote:
>>>>
>>>>
>>>>> Julian,
>>>>>
>>>>> Per my recent request for batch timing in the logs, please
>>>>> look at my suggested changes for MessageBatch.pm (attached,
>>>>> against 4.47.4).  My changes have NOT been tested at all, so I  
>>>>> don't know if this will work.  The changes:
>>>>>
>>>>> * added Time::HiRes for timing the start and end timing on
>>>>>   a batch of messages.
>>>>>
>>>>> * changed output of information in EndBatch from integer
>>>>>   to float
>>>>>
>>>>> * Added a "Batch Completed in x.x seconds" syslog, even if
>>>>>   "Log Speed" is not turned on in the config file.
>>>>>
>>>>> Please see if my idea makes sense.  Since HighRes is required
>>>>> for SpamAssassin, why not use it here too to give better info?
>>>>>
>>>>> Jeff Earickson
>>>>> Colby College
>>>>>
>>>
>>> ------------------------ MailScanner list ------------------------
>>> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
>>> 'leave mailscanner' in the body of the email.
>>> Before posting, read the Wiki (http://wiki.mailscanner.info/) and
>>> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>>>
>>> Support MailScanner development - buy the book off the website!
>>>
>>
>> -- 
>> Julian Field
>> www.MailScanner.info
>> Buy the MailScanner book at www.MailScanner.info/store
>> Professional Support Services at www.MailScanner.biz
>> MailScanner thanks transtec Computers for their support
>>
>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>>
>>
>> -- 
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>>
>> -- 
>> MailScanner mailing list
>> MailScanner at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>
>> Before posting, read the Wiki (http://wiki.mailscanner.info/).
>>
>> Support MailScanner development - buy the book off the website!

-- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list