<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:Consolas;
        panose-1:2 11 6 9 2 2 4 3 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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle19
        {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><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>On Mon, 2010-04-26 at 08:46 +0100, Julian Field wrote:<br>
<br>
<o:p></o:p></p>

<pre><o:p>&nbsp;</o:p></pre><pre>&gt;<o:p>&nbsp;</o:p></pre><pre>&gt; So I dropped the kids to &quot;2&quot; and it starts, all good as it should.<o:p></o:p></pre><pre>&gt;<o:p>&nbsp;</o:p></pre><pre>&gt; 26227 ?        Ss     0:00 MailScanner: master waiting for children, <o:p></o:p></pre><pre>&gt; sleeping<o:p></o:p></pre><pre>&gt; 26232 ?        S      0:02 MailScanner: waiting for messages<o:p></o:p></pre><pre>&gt; 28345 ?        S      0:02 MailScanner: waiting for messages<o:p></o:p></pre><pre>&gt;<o:p>&nbsp;</o:p></pre><pre>&gt; Except.. (yep there's always an &quot;except&quot;)...<o:p></o:p></pre><pre>&gt; Often, a child grabs the batch, then, the other kid grabs it, <o:p></o:p></pre><pre>&gt; processing it twice, resulting in the recipient getting two copies of <o:p></o:p></pre><pre>&gt; the message.<o:p></o:p></pre><pre>That's a locking fault.<o:p></o:p></pre><pre>&gt;<o:p>&nbsp;</o:p></pre>

<p class=MsoNormal>That's what I thought but all perms seem correct.<br>
<br>
<span style='color:#1F497D'>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) however the end user was not aware due to the fact it was a Virtuozzo
VE. </span><o:p></o:p></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'>Nick.<o:p></o:p></span></p>

</div>

</body>

</html>