Browse Source

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
Steve Kotsopoulos 8 years ago
parent
commit
dd95849b62
1 changed files with 3 additions and 0 deletions
  1. 3 0
      docs/reference/setup/sysconfig/file-descriptors.asciidoc

+ 3 - 0
docs/reference/setup/sysconfig/file-descriptors.asciidoc

@@ -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
 <<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
 descriptors to 65536 and do not require further configuration.