<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-AU link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Check your /proc/userbeancounters odds are it exceeding one or some
of them.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Cheers,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Anthony<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> 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<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>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><span style='font-size:10.0pt'>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</span></tt><br>
<tt><span style='font-size:10.0pt'>Memory:&nbsp; 512 MB</span></tt><br>
<tt><span style='font-size:10.0pt'>Machine: x86_64</span></tt><br>
<tt><span style='font-size:10.0pt'>Release: Linux 2.6.18-028stab068.3</span></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) <o:p></o:p></p>

</div>

</div>

</body>

</html>