Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-12041

WARN org.elasticsearch.env max file descriptors for elasticsearch process likely too low, consider increasing logged at start

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.4.0
    • Component/s: Bootstrap
    • Labels:
      None
    • Environment:
      Linux MacOSX
    • Release Note:
      Yes

      Description

      At startup, Nexus may report a log message similar to the following:

      2017-01-09 17:36:19,524-0500 WARN  [FelixStartLevel] *SYSTEM org.elasticsearch.env - [38532E92-614B4BF0-F9D62725-B9BC7001-F1EDD79B] max file descriptors [10240] for elasticsearch process likely too low, consider increasing to at least [65536]
      

      No adverse behavior may be noticed despite this message. However, something may go wrong at a future point, and the result could be disastrous.

      Problem

      Given the number of services embedded in NXRM (orient, elasticsearch, etc.) you could quickly run out of file descriptors if the limit is set to low, and in some circumstances that could lead to files not getting written out which could eventually lead to instability or even corruption issues.

      Recommendation

      Nexus 3.x users should up their file descriptor limit to 65536 - this applies to Linux and OSX systems only and is considered a safe maximum value which should avoid bumping up against any system level ulimit defaults.

      Given elasticsearch itself recommends a file descriptor limit of 65536 or higher in https://www.elastic.co/guide/en/elasticsearch/reference/current/file-descriptors.html, the Nexus system requirements are also requiring upping the ulimit to this recommended minimum value.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jtom Joe Tom
                Last Updated By:
                Farshid Tavakolizadeh
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: