[plug] MailScanner children fighting

Ryan ryan at is.as.geeky.as
Sun Dec 5 12:44:32 WST 2004


Thanks Jeremy,

I've tried this and it all seems to work well now.  

Interestingly the default lock type recommended for sendmail by the
writers is flock, which obviously doesn't work.

Now we know :P

Ryan

On Thu, 2004-12-02 at 05:08, Jeremy Buchman wrote:
> Hey plug,
> 
> I found this entry via google and was having the same problem. Since
> idid find a solution and as a bonus to all those who setup their
> listto be googleable i figured i'd share what i found. 
> All you have to do to fix this issue is set the following parameter
> inMailscanner.conf
> 
> Lock Type = posix
> 
> -Jeremy Buchman
> Pivotal Veracity
> 
>         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, andthe
>         other empty saying "<<< No Message Collected >>>"
>         
>         If I reduce the max children to one, things obviously are a
>         touchslower
>         off the mark, but it stops the children fighting over the
>         messages.
>         
>         Anyone else seen this?




More information about the plug mailing list