[DOCS-2763] Describe how/ when MMS issues a "low open files limit" warning Created: 20/Feb/14  Updated: 16/Mar/15  Resolved: 26/Mar/14

Status: Closed
Project: Documentation
Component/s: Cloud Manager
Affects Version/s: None
Fix Version/s: v1.3.3

Type: Improvement Priority: Minor - P4
Reporter: Jacob Ribnik Assignee: Tim Slavin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Participants:
Days since reply: 9 years, 51 weeks, 6 days ago

 Description   

Describe how/ when MMS issues a "low open files limit alert" with something like this:

On a host-by-host basis, MMS considers the number of available server connections as reported in the serverStatus.connections object embedded inside Ping documents, for example:

    "serverStatus": {
        "connections": {
               "current": 4,
               "totalCreated": 379514,
               "available": 815
        }
    }

The message "Host has low open files limit" is issued when the sum of current and available is less than minRequiredConnections, where the latter is defined like this:

If
   "maxConns" command line parameter is set for the server
Then
   minRequiredConnections = minimum(maxConns, 20000) - 1
Else 
   minRequiredConnections = 1024

The use of "ulimit" in the warning in the Ping document is potentially confusing. However, the "max open file descriptors" ulimit parameter directly affects the number of available server connections, and hence affects the above metric.

Further, the "open files limit" parameter is related to db.hostInfo()['extra'].maxOpenFiles, which is available in the Ping documents.

I note that while "maxOpenFiles" exists in the extra document in Linux, I do not see it in the extra document on my Mac.


Generated at Thu Feb 08 07:44:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.