any issues with MailScanner and locked pages?

Jerry Benton jerry.benton at mailborder.com
Wed Aug 30 14:17:24 UTC 2017


Walt,

 

Reduce the number of MailSanner child processes to 2 or 3. Unless your server is crazy busy, you don’t need more than that. 

 

 

--

Jerry Benton

 <http://www.mailborder.com/> www.mailborder.com
+1   (843) 800-8605

+44 (020) 3883-8605



 

From: MailScanner [mailto:mailscanner-bounces+jerry.benton=mailborder.com at lists.mailscanner.info] On Behalf Of Walt Thiessen
Sent: Wednesday, August 30, 2017 10:17 AM
To: MailScanner Discussion <mailscanner at lists.mailscanner.info>
Subject: Re: any issues with MailScanner and locked pages?

 

Hi Jerry,

Hi Jerry,

I checked that file at your suggestion, and everything is commented out. Within the docblock, there are no settings for locks.

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. 

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. 

That's why I'm trying to search for another way to fix this instead of just throwing more processing power at it.

Walt

 

On 8/30/2017 9:32 AM, Jerry Benton wrote:

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
www.mailborder.com <http://www.mailborder.com> 
+1   (843) 800-8605
+44 (020) 3883-8605
 
 
-----Original Message-----
From: MailScanner
[mailto:mailscanner-bounces+jerry.benton=mailborder.com at lists.mailscanner.in
fo] On Behalf Of Walt Thiessen
Sent: Wednesday, August 30, 2017 9:27 AM
To: MailScanner Discussion  <mailto:mailscanner at lists.mailscanner.info> <mailscanner at lists.mailscanner.info>
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.
 
https://openvz.org/UBC_auxiliary_parameters#lockedpages
 
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
mailscanner at lists.mailscanner.info <mailto:mailscanner at lists.mailscanner.info> 
http://lists.mailscanner.info/mailman/listinfo/mailscanner
 
 
 
 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20170830/4965971c/attachment.html>


More information about the MailScanner mailing list