From ac1c41cf91db8445aaf6b605d15b561379078303 Mon Sep 17 00:00:00 2001 From: harsha-s Date: Mon, 7 Oct 2019 13:45:28 +0100 Subject: [PATCH] Update docker.asciidoc added nofile section in ulimits to fix below error: es02 | ERROR: [1] bootstrap checks failed es02 | [1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535] --- docs/reference/setup/install/docker.asciidoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/reference/setup/install/docker.asciidoc b/docs/reference/setup/install/docker.asciidoc index 7a2a751b07da1..b08e386f254ea 100644 --- a/docs/reference/setup/install/docker.asciidoc +++ b/docs/reference/setup/install/docker.asciidoc @@ -181,6 +181,9 @@ services: memlock: soft: -1 hard: -1 + nofile: + soft: 65536 + hard: 65536 volumes: - esdata01:/usr/share/elasticsearch/data ports: @@ -201,6 +204,9 @@ services: memlock: soft: -1 hard: -1 + nofile: + soft: 65536 + hard: 65536 volumes: - esdata02:/usr/share/elasticsearch/data networks: