MailScanner under openvz

Noel Butler noel.butler at ausics.net
Mon Apr 26 06:54:40 IST 2010


Hi Anthony,
As far as I can tell, it isn't coming close to any exceeds.
Thanks anyway.


On Mon, 2010-04-26 at 15:11 +1000, Anthony Giggins wrote:
> Check your /proc/userbeancounters odds are it exceeding one or some of
> them.
> 
>  
> 
> Cheers,
> 
>  
> 
> Anthony
> 
>  
> 
> 
> From: mailscanner-bounces at lists.mailscanner.info
> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Noel
> Butler
> Sent: Monday, 26 April 2010 10:13 AM
> To: MailScanner discussion
> Subject: MailScanner under openvz
> 
> 
> 
>  
> 
> Greetings,
> 
> Has anyone had any issues with this configuration?
> 
> I have installed MailScanner on many servers, personal, my employers,
> and private clients over the years, must be totalling into hundreds
> having used it since 2002, even on virtual stuff like xen and vmware,
> but I've never had the displeasure of doing one under an openvz
> container,  that said, this is my first hands on with openvz (no, I
> don't control of the vps server hardware but I have faith in the
> company that does as they have been doing this for a couple years, so
> I trust the container and master host are properly setup).
> 
> I know even an old pro like myself can make a mistake, so I duplicated
> the setup on a spare dev box, and it works fine, but on that vps, not
> a hope in hell...
> 
> There are no errors in any lint/debug for MS or SA, forcing a
> confiscated rootkit, gets found by clamav and dealt with correctly, so
> I'm ruling out anti virus as well.
> 
> Using base config of 5 children, It repeatedly restarts, it will
> process mail in the process though, there are again, no indications as
> to why it is restarting continuously.
> 
> 
> 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.
> 
> and.. then, if it restarts itself as per the restart timeout value,
> they end up like this, trying to start a child, even though it already
> has restarted itself and both of its kids (and we don't ever see 26227
> return to master state.)
> 16328 ?        S      0:02 MailScanner: waiting for messages
> 18049 ?        S      0:02 MailScanner: waiting for messages
> 26227 ?        Ss     0:00 MailScanner: starting child
> 
> 
> This is a centos 5.4 system.  MailScanner was installed from source
> not an ancient rpm or whatever.
> 
> CPU:     8 Intel(R) Xeon(R) CPU           E5450  @ 3.00GHz at 123MHz
> Memory:  512 MB
> Machine: x86_64
> Release: Linux 2.6.18-028stab068.3
> 
> 
> So, has anyone run into any problems like this with openvz?
> 
> Cheers
> (thanks to Julian if he approves this post)
> (direct replies accepted) 
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20100426/90fa2cb6/attachment.html


More information about the MailScanner mailing list