mailscanner only scanning 1 message at a time

Julian Field mailscanner at ecs.soton.ac.uk
Thu Apr 15 20:22:41 IST 2004


At 20:13 15/04/2004, you wrote:
>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.

Indeed, try reducing this to 10 to see if it helps reduce the signs. But
note that this will be less efficient.

>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.

Correct. The "messages waiting" includes all messages that are
a) being delivered
or
b) being processed by another MailScanner thread.

>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
> >

--
Julian Field
www.MailScanner.info
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



More information about the MailScanner mailing list