Details
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
- relates
-
NEXUS-14857 Insufficient file handles on dockerized nexus3
-
- Closed
-
-
NEXUS-13485 warn in UI when ulimit < 65536 on Linux or OSX
-
- Closed
-