浏览代码

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 年之前
父节点
当前提交
dd95849b62
共有 1 个文件被更改,包括 3 次插入0 次删除
  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.