From ee1ed5203bc4d27be480966db177438e091c76f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Thu, 19 Jan 2023 14:07:40 +0100 Subject: [PATCH] logs/dash.nimbus: drop manual JVM heap size setting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Lets try how well the automatic sizing works: https://www.elastic.co/guide/en/elasticsearch/reference/7.17/important-settings.html#heap-size-settings https://github.com/status-im/infra-nimbus/issues/138 Signed-off-by: Jakub SokoĊ‚owski --- ansible/group_vars/dash.nimbus.yml | 4 ---- ansible/group_vars/logs.nimbus.yml | 4 ---- ansible/requirements.yml | 4 ++-- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/ansible/group_vars/dash.nimbus.yml b/ansible/group_vars/dash.nimbus.yml index 09e41be..539f945 100644 --- a/ansible/group_vars/dash.nimbus.yml +++ b/ansible/group_vars/dash.nimbus.yml @@ -50,10 +50,6 @@ logclean_es_host: 'localhost' logclean_es_port: '{{ es_lb_api_port }}' logclean_keep_indices: 14 -# JVM Memory settings -es_lb_jvm_min_heap: 2g -es_lb_jvm_max_heap: 2g - # Open Nginx Ports open_ports_default_comment: 'ElasticSearch LB' open_ports_default_chain: 'VPN' diff --git a/ansible/group_vars/logs.nimbus.yml b/ansible/group_vars/logs.nimbus.yml index 508ef53..a88f54e 100644 --- a/ansible/group_vars/logs.nimbus.yml +++ b/ansible/group_vars/logs.nimbus.yml @@ -36,10 +36,6 @@ es_number_of_shards: 3 # Since Nimbus logs are low-value we don't need replicas. es_number_of_replicas: 0 -# JVM memory settings -es_jvm_min_heap: '32g' -es_jvm_max_heap: '32g' - # Open Ports open_ports_default_comment: 'ElasticSearch' open_ports_default_chain: 'VPN' diff --git a/ansible/requirements.yml b/ansible/requirements.yml index d6c8399..4f5a544 100644 --- a/ansible/requirements.yml +++ b/ansible/requirements.yml @@ -96,12 +96,12 @@ - name: elasticsearch src: git@github.com:status-im/infra-role-elasticsearch.git - version: bf5eeadb3877d39167c5efc522355066c3671a66 + version: 26a74907e1cb748eac709169815427bef4008897 scm: git - name: elasticsearch-lb src: git@github.com:status-im/infra-role-elasticsearch-lb.git - version: 2f20c271671aa586f580ba5b30dd43126e11e0f9 + version: 874822c6460c9c841234af88dcec1182142245ad scm: git - name: systemd-timer