mailscanner only scanning 1 message at a time

Derek Winkler dwinkler at ALGORITHMICS.COM
Thu Apr 15 20:13:16 IST 2004


I see this happen when around the same number as "Max Unscanned Messages Per
Scan" of emails are waiting.

One of the MailScanner children processes 30 messages, since it's doing 30
it takes awhile.

Meanwhile the other children starting picking up one or two as new messages
come in, they get processed and delivered before the older message are
processed by the other child.

Reducing the "Max Unscanned Messages Per Scan" may reduce this effect.

It seems to me like the log message "Found n messages wating" includes ones
that are currently being processed. So even though a child found 32 messages
waiting it only scans 2 messages.

As a side note, can someone let me know if I also break threads. I'm using a
similar setup as Ugo. Just curious.

> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
> Behalf Of Chris Yuzik
> Sent: Thursday, April 15, 2004 3:05 PM
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: mailscanner only scanning 1 message at a time
>
>
> Hi Ugo,
>
> Ugo Bellavance wrote:
>
> > What do you have at:
> >
> > Max Unscanned Messages Per Scan =
>
> Max Unscanned Bytes Per Scan = 100000000
> Max Unscanned Messages Per Scan = 30
> Mark Unscanned Messages = yes
>
> > Could we have a log sample?
>
> Ha ha. That sounds like something a doctor would ask. ;-)
>
> Apr 15 10:33:40 ns1 MailScanner[31191]: New Batch: Found 2
> messages waiting
> Apr 15 10:33:40 ns1 MailScanner[31191]: New Batch: Scanning 1
> messages,
> 12411 bytes
> Apr 15 10:33:42 ns1 MailScanner[31246]: Virus and Content
> Scanning: Starting
> Apr 15 10:33:44 ns1 MailScanner[31246]: Uninfected: Delivered
> 1 messages
> Apr 15 10:33:45 ns1 MailScanner[31191]: Spam Checks: Found 1
> spam messages
> Apr 15 10:33:45 ns1 MailScanner[31191]: Virus and Content
> Scanning: Starting
>
> > I'd like to know how many "found" messages waiting, as in:
>
> Generally, I don't see that line. Right now, the queue is down to a
> normal number (< 5).
>
> Cheers,
> Chris
>



More information about the MailScanner mailing list