any issues with MailScanner and locked pages?
Michael Böttger
michael.boettger at crossip.net
Thu Aug 31 13:40:01 UTC 2017
Additionally, her ist he limits.conf file
cat /etc/sysconfig/limits.conf
###
* - nofile 16384
nobody soft nofile 16384
nobody hard nofile 63536
nobody soft nproc 2047
nobody hard nproc 16384
nobody soft memlock 1048576
nobody hard memlock 1048576
Mit freundlichen Grüßen,
With best regards,
Michael Böttger
product and strategy management
—
[cid:image001.png at 01D3226F.7FA4B010]
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: http://www.crossip.net/de/legal/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>
Von: MailScanner <mailscanner-bounces+michael.boettger=crossip.net at lists.mailscanner.info> im Auftrag von Michael Böttger <michael.boettger at crossip.net>
Antworten an: MailScanner Discussion <mailscanner at lists.mailscanner.info>
Datum: Donnerstag, 31. August 2017 um 15:39
An: MailScanner Discussion <mailscanner at lists.mailscanner.info>
Betreff: Re: any issues with MailScanner and locked pages?
Hi Jerry,
I have now reduced the children to 6 in the config file. This is what WailWatch reports after 24 hrs of runtime:
Status
MailScanner:
YES
10 children
Postfix:
YES
12 proc(s)
Load Average:
1 minute:
2.47
5 minutes:
2.86
15 minutes:
2.63
Can you see the difference in load, before I had 16 children in the config file.
Is there something wrong ?
CentOS 7
8GB RAM, 8 Cores X5650 @ 2.67GHz,
avg. 3000 emails per hour
total used free shared buff/cache available
Mem: 8388608 1267292 5935508 93668 1185808 6936726
Mit freundlichen Grüßen,
With best regards,
Michael Böttger
product and strategy management
—
[cid:image002.png at 01D3226F.7FA4B010]
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: http://www.crossip.net/de/legal/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>
Von: MailScanner <mailscanner-bounces+michael.boettger=crossip.net at lists.mailscanner.info> im Auftrag von Jerry Benton <jerry.benton at mailborder.com>
Organisation: Mailborder Systems
Antworten an: MailScanner Discussion <mailscanner at lists.mailscanner.info>
Datum: Mittwoch, 30. August 2017 um 16:58
An: 'MailScanner Discussion' <mailscanner at lists.mailscanner.info>
Betreff: RE: any issues with MailScanner and locked pages?
You need to reduce the number of MailScanner children if you are running out of files.
--
Jerry Benton
www.mailborder.com<http://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
—
[cid:image003.png at 01D3226F.7FA4B010]
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: http://www.crossip.net/de/legal/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>
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
www.mailborder.com<http://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 <mailscanner at lists.mailscanner.info><mailto: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/20170831/f851cbb2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 7190 bytes
Desc: image001.png
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20170831/f851cbb2/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 7191 bytes
Desc: image002.png
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20170831/f851cbb2/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 7192 bytes
Desc: image003.png
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20170831/f851cbb2/attachment-0005.png>
More information about the MailScanner
mailing list