<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=us-ascii"><meta name=Generator content="Microsoft Word 14 (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:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></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-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi All –<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I just went through a painful upgrade of an Ubuntu server from 10.04 to 14.04. In the process, MailScanner was removed and I had to re-install it. I copied over my old etc settings. My old version was 4.79.11. My new version is 4.84.6.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>It seems as if MailScanner can’t tell whether it’s already running. I have “Restart Every” set to 7200. Every time the time passes, a new primary process of MailScanner starts. Over the period of a day, I’ll have a large number of parent processes running.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Help?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>If this helps at all… the mailscanner script in /etc/init.d uses start-stop-daemon to start and stop the MailScanner process. It would start fine, but it wouldn’t stop as it didn’t recognize the MailScanner name in the process list. I had to modify the script to use the PID file to stop the processes.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Here’s the ps –edf output after the first 7200 seconds:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>root 11829 1 0 12:31 ? 00:00:00 MailScanner: master waiting for children, sleeping<o:p></o:p></p><p class=MsoNormal>root 11830 11829 0 12:31 ? 00:00:11 MailScanner: waiting for messages<o:p></o:p></p><p class=MsoNormal>root 11839 11829 0 12:31 ? 00:00:13 MailScanner: waiting for messages<o:p></o:p></p><p class=MsoNormal>root 11857 11829 0 12:32 ? 00:00:14 MailScanner: waiting for messages<o:p></o:p></p><p class=MsoNormal>root 11863 11829 0 12:32 ? 00:00:14 MailScanner: waiting for messages<o:p></o:p></p><p class=MsoNormal>root 11871 11829 0 12:32 ? 00:00:14 MailScanner: waiting for messages<o:p></o:p></p><p class=MsoNormal>root 14269 1 0 13:17 ? 00:00:00 MailScanner: master waiting for children, sleeping<o:p></o:p></p><p class=MsoNormal>root 14270 14269 0 13:17 ? 00:00:07 MailScanner: waiting for messages<o:p></o:p></p><p class=MsoNormal>root 14278 14269 0 13:17 ? 00:00:07 MailScanner: waiting for messages<o:p></o:p></p><p class=MsoNormal>root 14284 14269 0 13:17 ? 00:00:10 MailScanner: waiting for messages<o:p></o:p></p><p class=MsoNormal>root 14290 14269 0 13:17 ? 00:00:07 MailScanner: waiting for messages<o:p></o:p></p><p class=MsoNormal>root 14298 14269 0 13:17 ? 00:00:08 MailScanner: waiting for messages<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks!<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Chris<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>