<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.18.3">
</HEAD>
<BODY LINK="#0000ff">
Hi Anthony,<BR>
As far as I can tell, it isn't coming close to any exceeds.<BR>
Thanks anyway.<BR>
<BR>
<BR>
On Mon, 2010-04-26 at 15:11 +1000, Anthony Giggins wrote:
<BLOCKQUOTE TYPE=CITE>
    Check your /proc/userbeancounters odds are it exceeding one or some of them.<BR>
    <BR>
    &nbsp;<BR>
    <BR>
    Cheers,<BR>
    <BR>
    &nbsp;<BR>
    <BR>
    Anthony<BR>
    <BR>
    &nbsp;<BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    <B>From:</B> mailscanner-bounces@lists.mailscanner.info [mailto:mailscanner-bounces@lists.mailscanner.info] <B>On Behalf Of </B>Noel Butler<BR>
    <B>Sent:</B> Monday, 26 April 2010 10:13 AM<BR>
    <B>To:</B> MailScanner discussion<BR>
    <B>Subject:</B> MailScanner under openvz<BR>
    <BR>
    <BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
    &nbsp;<BR>
    <BR>
    Greetings,<BR>
    <BR>
    Has anyone had any issues with this configuration?<BR>
    <BR>
    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,&nbsp; 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).<BR>
    <BR>
    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...<BR>
    <BR>
    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.<BR>
    <BR>
    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.<BR>
    <BR>
    <BR>
    So I dropped the kids to &quot;2&quot; and it starts, all good as it should.<BR>
    <BR>
    26227 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ss&nbsp;&nbsp;&nbsp;&nbsp; 0:00 MailScanner: master waiting for children, sleeping<BR>
    26232 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:02 MailScanner: waiting for messages<BR>
    28345 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:02 MailScanner: waiting for messages<BR>
    <BR>
    Except.. (yep there's always an &quot;except&quot;)...<BR>
    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.<BR>
    <BR>
    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.)<BR>
    16328 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:02 MailScanner: waiting for messages<BR>
    18049 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:02 MailScanner: waiting for messages<BR>
    26227 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ss&nbsp;&nbsp;&nbsp;&nbsp; 0:00 MailScanner: starting child<BR>
    <BR>
    <BR>
    This is a centos 5.4 system.&nbsp; MailScanner was installed from source not an ancient rpm or whatever.<BR>
    <BR>
    <TT>CPU:&nbsp;&nbsp;&nbsp;&nbsp; 8 Intel(R) Xeon(R) CPU&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; E5450&nbsp; @ 3.00GHz at 123MHz</TT><BR>
    <TT>Memory:&nbsp; 512 MB</TT><BR>
    <TT>Machine: x86_64</TT><BR>
    <TT>Release: Linux 2.6.18-028stab068.3</TT><BR>
    <BR>
    <BR>
    So, has anyone run into any problems like this with openvz?<BR>
    <BR>
    Cheers<BR>
    (thanks to Julian if he approves this post)<BR>
    (direct replies accepted) <BR>
    <BR>
    <BR>
</BLOCKQUOTE>
</BODY>
</HTML>