From 42ac2ba44d1568a0073bbc036dd886d92a3975db Mon Sep 17 00:00:00 2001 From: Jan Wozniak Date: Wed, 14 Jun 2017 15:48:39 +0200 Subject: logging: write ES heap dump to persistent storage --- roles/openshift_logging_elasticsearch/templates/es.j2 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'roles') diff --git a/roles/openshift_logging_elasticsearch/templates/es.j2 b/roles/openshift_logging_elasticsearch/templates/es.j2 index bd2289f0d..609d72f1a 100644 --- a/roles/openshift_logging_elasticsearch/templates/es.j2 +++ b/roles/openshift_logging_elasticsearch/templates/es.j2 @@ -74,6 +74,9 @@ spec: - name: "INSTANCE_RAM" value: "{{openshift_logging_elasticsearch_memory_limit}}" + - + name: "HEAP_DUMP_LOCATION" + value: "/elasticsearch/persistent/heapdump.hprof" - name: "NODE_QUORUM" value: "{{es_node_quorum | int}}" -- cgit v1.2.3