Changing the Batch size value
Arthur Sherman
arturs at netvision.net.il
Tue Mar 20 10:42:44 CET 2007
Dean,
I followed the wiki section you've mentioned.
Most tweaks were applied even before.
I enabled speed and spam logging, then:
--
Mar 20 11:30:05 ns1 MailScanner[14816]: New Batch: Scanning 1 messages, 2180
bytes
Mar 20 11:30:05 ns1 MailScanner[14816]: Spam Checks: Starting
Mar 20 11:30:05 ns1 MailScanner[14816]: Message l2K9U1ba014910 from
127.0.0.1 (root at ns1.cpt.co.il) is whitelisted
Mar 20 11:30:12 ns1 MailScanner[14816]: Spam Checks completed at 310 bytes
per second
Mar 20 11:30:12 ns1 MailScanner[14816]: Virus and Content Scanning: Starting
Mar 20 11:30:12 ns1 MailScanner[14816]: Virus Scanning completed at 8087
bytes per second
Mar 20 11:30:12 ns1 MailScanner[14816]: Uninfected: Delivered 1 messages
Mar 20 11:30:12 ns1 MailScanner[14816]: Virus Processing completed at 61320
bytes per second
Mar 20 11:30:12 ns1 MailScanner[14816]: Batch completed at 297 bytes per
second (2180 / 7)
Mar 20 11:30:12 ns1 MailScanner[14816]: Batch (1 message) processed in 7.32
seconds
--
Max Children = 3
Max Unscanned ... = 10
Top:
top - 11:31:29 up 8 days, 10:35, 1 user, load average: 0.01, 0.04, 0.01
Tasks: 103 total, 2 running, 101 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0% us, 0.3% sy, 0.0% ni, 99.7% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 3115152k total, 1186836k used, 1928316k free, 143900k buffers
Swap: 1052152k total, 548k used, 1051604k free, 619384k cached
Can you tell why it takes so long?
Thanks!
Best,
--
Arthur Sherman
+972-52-4878851
http://www.cpt.co.il/
> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info
> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf
> Of Dean Manners
> Sent: Tuesday, March 20, 2007 10:58 AM
> To: 'MailScanner discussion'
> Subject: RE: Changing the Batch size value
>
> Its Azfar,
> Line ~260 of MailScanner.conf:
>
> Max Unscanned Messages Per Scan = 50
> Max Unsafe Messages Per Scan = 50
>
> During benchmarking I found 50 message batches with "Max
> Children = 6" to be
> the most efficient for my systems (Dell PE1950, 4Gb RAM, 2x Xeon 5110
> processors, SAS storage), but only marginely faster. The
> ideal value would
> be unique to each system, but the default 30 is probably spot
> on for most.
> If your trying to speed up processing - and havent allready, try out
> mounting your MailScanner working directory in tmpfs (see
> http://wiki.mailscanner.info/doku.php?id=documentation:tweakin
> g:some_things_
> to_try_if_your_incoming_queue_is_running_slow&s=speed).
>
>
> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info
> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf
> Of Its Azfar
> Sent: Tuesday, March 20, 2007 6:36 PM
> To: mailscanner at lists.mailscanner.info
> Subject: Changing the Batch size value
>
> Where do I change the no of mails per bacth value. Its set on
> 30 And I want
> to change it. BTW whats better loer value or higher or just
> default value ?
>
>
>
> ______________________________________________________________
> ______________
> ________
> Looking for earth-friendly autos?
> Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
> http://autos.yahoo.com/green_center/
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
More information about the MailScanner
mailing list