Document JVM option MaxFDLimit for macOS ()

This commit documents a JVM option that is needed on macOS when raising
file descriptor limits there.

Relates #26900
This commit is contained in:
Steve Kotsopoulos 2017-10-05 14:56:15 -04:00 committed by Jason Tedor
parent 470e5e7cfc
commit dd95849b62
1 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,9 @@ For the `.zip` and `.tar.gz` packages, set <<ulimit,`ulimit -n 65536`>> as
root before starting Elasticsearch, or set `nofile` to `65536` in root before starting Elasticsearch, or set `nofile` to `65536` in
<<limits.conf,`/etc/security/limits.conf`>>. <<limits.conf,`/etc/security/limits.conf`>>.
On macOS, you must also pass the JVM option `-XX:-MaxFDLimit`
to Elasticsearch in order for it to make use of the higher file descriptor limit.
RPM and Debian packages already default the maximum number of file RPM and Debian packages already default the maximum number of file
descriptors to 65536 and do not require further configuration. descriptors to 65536 and do not require further configuration.