You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by tu...@apache.org on 2020/12/13 02:09:29 UTC

[kibble] branch main updated: Fix ES Memory locking issue (#108)

This is an automated email from the ASF dual-hosted git repository.

turbaszek pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/kibble.git


The following commit(s) were added to refs/heads/main by this push:
     new 1876559  Fix ES Memory locking issue (#108)
1876559 is described below

commit 1876559c776757608b6233d8e5aafd29389a3ab8
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Sun Dec 13 02:09:23 2020 +0000

    Fix ES Memory locking issue (#108)
    
    This is recommended https://github.com/deviantony/docker-elk/issues/243#issuecomment-363861158 and in official ES docs:
    
    https://www.elastic.co/guide/en/elastic-stack-get-started/current/get-started-docker.html
---
 docker-compose-dev.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/docker-compose-dev.yaml b/docker-compose-dev.yaml
index d4d8b88..e4cbb0d 100644
--- a/docker-compose-dev.yaml
+++ b/docker-compose-dev.yaml
@@ -59,6 +59,10 @@ services:
       cluster.initial_master_nodes: es01
       cluster.name: kibble
       ES_JAVA_OPTS: -Xms256m -Xmx256m
+    ulimits:
+      memlock:
+        soft: -1
+        hard: -1
     volumes:
       - "kibble-es-data:/usr/share/elasticsearch/data"
     networks: