MailScanner under openvz

Julian Field MailScanner at ecs.soton.ac.uk
Tue Apr 27 08:49:11 IST 2010



On 27/04/2010 01:09, Nick Brown wrote:
>
> On Mon, 2010-04-26 at 08:46 +0100, Julian Field wrote:
>
>   
> >  
> >  So I dropped the kids to "2" and it starts, all good as it should.
> >  
> >  26227 ?        Ss     0:00 MailScanner: master waiting for children,
> >  sleeping
> >  26232 ?        S      0:02 MailScanner: waiting for messages
> >  28345 ?        S      0:02 MailScanner: waiting for messages
> >  
> >  Except.. (yep there's always an "except")...
> >  Often, a child grabs the batch, then, the other kid grabs it,
> >  processing it twice, resulting in the recipient getting two copies of
> >  the message.
> That's a locking fault.
> >  
>
> That's what I thought but all perms seem correct.
>
> I’ve never looked at how MailScanner handles file locking – however 
> have seen a similar issue previously where the filesystem was stored 
> over NFS (Which requires some rejigging to get ‘file locking support’ 
> out of the box)
>
MailScanner does not support shared queues over NFS. NFS file locking is 
a total nightmare, you're trying to impose a stateful system 
(file-locking) on a stateless file server protocol (NFS).
>
> however the end user was not aware due to the fact it was a Virtuozzo VE.
>
> Nick.
>

Jules

-- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at twitter.com/JulesFM and twitter.com/MailScanner


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list