<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><font face="Arial">Hi Jerry,</font></p>
    <p><font face="Arial">Hi Jerry,</font></p>
    <p><font face="Arial">I checked that file at your suggestion, and
        everything is commented out. Within the docblock, there are no
        settings for locks.</font></p>
    <p><font face="Arial">The locks problem appears to be related to a
        limit set within my VPS container by my hosting provider.
        Apparently, my VPS server is allocated a little more than 3200
        locks. After that, it degrades and crashes. The provider isn't
        willing to increase it without me buying more processing power
        from them. <br>
      </font></p>
    <p><font face="Arial">However, even with what I have right now, I'm
        not using much processor at all, and as I mentioned in the
        previous message I'm not using up my allocated memory (not even
        close). My server load is typically in the range of 0.20 to 0.50
        on a three processor system. <br>
      </font></p>
    <p><font face="Arial">That's why I'm trying to search for another
        way to fix this instead of just throwing more processing power
        at it.<br>
      </font></p>
    <p><font face="Arial">Walt<br>
      </font></p>
    <br>
    <div class="moz-cite-prefix">On 8/30/2017 9:32 AM, Jerry Benton
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:032901d32194$646f5290$2d4df7b0$@mailborder.com">
      <pre wrap="">Do you mean lock files? Depending on your distro, it is set to something
small like 4096. You need to set it to 65535. in your
/etc/security/limits.conf


--
Jerry Benton
<a class="moz-txt-link-abbreviated" href="http://www.mailborder.com">www.mailborder.com</a>
+1   (843) 800-8605
+44 (020) 3883-8605


-----Original Message-----
From: MailScanner
[<a class="moz-txt-link-freetext" href="mailto:mailscanner-bounces+jerry.benton=mailborder.com@lists.mailscanner.in">mailto:mailscanner-bounces+jerry.benton=mailborder.com@lists.mailscanner.in</a>
fo] On Behalf Of Walt Thiessen
Sent: Wednesday, August 30, 2017 9:27 AM
To: MailScanner Discussion <a class="moz-txt-link-rfc2396E" href="mailto:mailscanner@lists.mailscanner.info"><mailscanner@lists.mailscanner.info></a>
Subject: any issues with MailScanner and locked pages?

I'm trying to track down an issue on my VPS.

For some reason, every 7-10 days or so the server crashes because the
container exceeds the allowed number of lockedpages.

<a class="moz-txt-link-freetext" href="https://openvz.org/UBC_auxiliary_parameters#lockedpages">https://openvz.org/UBC_auxiliary_parameters#lockedpages</a>

MailScanner and MySQL are the two processes that use the most memory on my
system (CentOS 7) by far, so I'm investigating each as much as I can to try
to identify why this is happening.

The server doesn't run out of memory. On the contrary, usually about half
the memory remains unallocated when these events occur.

Has anyone run into any issues with MailScanner locking too many pages in
memory?

Walt




--
MailScanner mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a>
<a class="moz-txt-link-freetext" href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a>




</pre>
    </blockquote>
    <br>
  </body>
</html>