From dcac2f6a22f6efbe8f7bedc79eacd724a41bbb93 Mon Sep 17 00:00:00 2001 From: harsha-s Date: Mon, 7 Oct 2019 13:38:44 +0100 Subject: [PATCH] Update docker-compose.yml to fix 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] --- distribution/docker/docker-compose.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/distribution/docker/docker-compose.yml b/distribution/docker/docker-compose.yml index ec6730f6dd558..acf24cbce28bd 100644 --- a/distribution/docker/docker-compose.yml +++ b/distribution/docker/docker-compose.yml @@ -40,6 +40,9 @@ services: memlock: soft: -1 hard: -1 + nofile: + soft: 65536 + hard: 65536 entrypoint: /docker-test-entrypoint.sh elasticsearch-default-2: image: elasticsearch:test @@ -80,6 +83,9 @@ services: memlock: soft: -1 hard: -1 + nofile: + soft: 65536 + hard: 65536 entrypoint: /docker-test-entrypoint.sh elasticsearch-oss-1: image: elasticsearch:test @@ -106,6 +112,9 @@ services: memlock: soft: -1 hard: -1 + nofile: + soft: 65536 + hard: 65536 elasticsearch-oss-2: image: elasticsearch:test environment: