any issues with MailScanner and locked pages?

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


You need to reduce the number of MailScanner children if you are running out of files. 

 

 

--

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 Michael Böttger
Sent: Wednesday, August 30, 2017 10:54 AM
To: MailScanner Discussion <mailscanner at lists.mailscanner.info>
Subject: Re: any issues with MailScanner and locked pages?

 

Hi Jerry,

 

hope you won’t call this crazy busy:

 


MailScanner:

 YES 

17 children


Postfix:

 YES 

19 proc(s)


Load Average: 

1 minute: 

0.52


5 minutes: 

0.79


15 minutes: 

0.89

 

 

 

Mit freundlichen Grüßen,

With best regards,

 

Michael Böttger

product and strategy management

—



Besondere Ansprüche. Individuelle Lösungen.

Particular demands. Individual solutions.

crossip communications gmbh

A-1020 Wien, Wohlmutstrasse 27

Sitz der Gesellschaft: 1020 Wien, Österreich

Firmenbuchgericht: Handelsgericht Wien, FN 269698 s, Umsatzsteueridentifikationsnummer (UID): ATU62080367

 

Haftungsausschluss / Disclaimer:  <file:///Users/mibo/Documents/%23WORK%23/crossip.net/redir.aspx?C=jZ3Qxp1AeEmJ7BNJzMvkKFjE2w-LvdEI3TVxtTY3tmJvxeHfhTg9FM_3NLuRfbqGG31e0CyIdhQ.&URL=http%3a%2f%2fwww.crossip.net%2fde%2flegal%2fhaftungsausschluss-disclaimer> http://www.crossip.net/de/legal/haftungsausschluss-disclaimer

 

Von: MailScanner <mailscanner-bounces+michael.boettger=crossip.net at lists.mailscanner.info <mailto:mailscanner-bounces+michael.boettger=crossip.net at lists.mailscanner.info> > im Auftrag von Jerry Benton <jerry.benton at mailborder.com <mailto:jerry.benton at mailborder.com> >
Organisation: Mailborder Systems
Antworten an: MailScanner Discussion <mailscanner at lists.mailscanner.info <mailto:mailscanner at lists.mailscanner.info> >
Datum: Mittwoch, 30. August 2017 um 16:17
An: 'MailScanner Discussion' <mailscanner at lists.mailscanner.info <mailto:mailscanner at lists.mailscanner.info> >
Betreff: RE: any issues with MailScanner and locked pages?

 

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 <mailto: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/f5fa347d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 7190 bytes
Desc: not available
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20170830/f5fa347d/attachment-0001.png>


More information about the MailScanner mailing list