[plug] MailScanner children fighting

Ryan ryan at is.as.geeky.as
Mon Oct 25 12:21:33 WST 2004


Hi PLUG,

I've just upgraded my MailScanner to v4.34.8.  Before I knock on their
door about this problem I was wondering if anyone has seen it?

With the default 5 children running, it appear that sometimes two
childen pick up the same message and then whichever finishes last
reports an error about it.  Below is the output, you can see that two
MailScanner processes detect the email waiting, both scan it, then one
delivers it and the other one wonders where it went.  The leads to 2
messages being sent to the recipient, one with the full message, and the
other empty saying "<<< No Message Collected >>>"

If I reduce the max children to one, things obviously are a touch slower
off the mark, but it stops the children fighting over the messages.

Anyone else seen this?

Oct 25 09:59:36 wind-tunnel sm-mta[26448]: i9P1xXpL026448:
to=<blal at blah>, delay=00:00:01, mailer=esmtp, pri=30480, stat=queued
Oct 25 09:59:37 wind-tunnel MailScanner[21194]: New Batch: Found 1
messages waiting
Oct 25 09:59:37 wind-tunnel MailScanner[21194]: New Batch: Scanning 1
messages, 4016 bytes
Oct 25 09:59:37 wind-tunnel MailScanner[23299]: New Batch: Found 1
messages waiting
Oct 25 09:59:37 wind-tunnel MailScanner[23299]: New Batch: Scanning 1
messages, 4016 bytes
Oct 25 09:59:40 wind-tunnel MailScanner[23299]: Virus and Content
Scanning: Starting
Oct 25 09:59:40 wind-tunnel MailScanner[23299]: Uninfected: Delivered 1
messages
Oct 25 09:59:42 wind-tunnel MailScanner[21194]: Virus and Content
Scanning: Starting
Oct 25 09:59:42 wind-tunnel MailScanner[21194]: Failed to link message
body between queues (/var/spool/mqueue/dfi9P1xXpL026448 -->
/var/spool/mqueue.in/dfi9P1xXpL026448)
Oct 25 09:59:42 wind-tunnel MailScanner[21194]: Uninfected: Delivered 1
messages
Oct 25 09:59:45 wind-tunnel sendmail[26463]: i9P1xXpL026448:
to=<blah at blah>, ctladdr=<from_blah at blah> (1046/100), delay=00:00:10,
xdelay=00:00:04, mailer=esmtp, pri=120480, relay=foo.bar.com.
[203.14.53.4], dsn=2.0.0, stat=Sent (<4176DB7200017551> Mail accepted)
Oct 25 09:59:45 wind-tunnel sendmail[26463]: i9P1xXpL026448:
to=<blah at blah>, ctladdr=<from_blah at blah> (1046/100), delay=00:00:10,
xdelay=00:00:04, mailer=esmtp, pri=120480, relay=foo.bar.com.
[203.14.53.4], dsn=2.0.0, stat=Sent (<4176DB7200017552> Mail accepted)

Thanks,

Ryan




More information about the plug mailing list