feat: raise elasticsearch memory to 512M

This commit is contained in:
VC
2024-07-05 11:53:42 +02:00
parent be7f4764e5
commit 87f2911ade
2 changed files with 3 additions and 1 deletions

View File

@@ -4,3 +4,5 @@ elasticsearch_key_url: "https://artifacts.elastic.co/GPG-KEY-elasticsearch"
elasticsearch_key_path: "/usr/share/keyrings/elasticsearch.asc" elasticsearch_key_path: "/usr/share/keyrings/elasticsearch.asc"
elasticsearch_data_dir: /srv/elasticsearch elasticsearch_data_dir: /srv/elasticsearch
elasticsearch_max_mem: 512m

View File

@@ -16,7 +16,7 @@ ES_PATH_CONF=/etc/elasticsearch
#PID_DIR=/var/run/elasticsearch #PID_DIR=/var/run/elasticsearch
# Additional Java OPTS # Additional Java OPTS
ES_JAVA_OPTS="-Xms384m -Xmx384m" ES_JAVA_OPTS="-Xms{{ elasticsearch_max_mem }} -Xmx{{ elasticsearch_max_mem }}"
# Configure restart on package upgrade (true, every other setting will lead to not restarting) # Configure restart on package upgrade (true, every other setting will lead to not restarting)
#RESTART_ON_UPGRADE=true #RESTART_ON_UPGRADE=true