feat: raise elasticsearch memory to 512M
This commit is contained in:
@@ -4,3 +4,5 @@ elasticsearch_key_url: "https://artifacts.elastic.co/GPG-KEY-elasticsearch"
|
||||
elasticsearch_key_path: "/usr/share/keyrings/elasticsearch.asc"
|
||||
|
||||
elasticsearch_data_dir: /srv/elasticsearch
|
||||
|
||||
elasticsearch_max_mem: 512m
|
||||
|
@@ -16,7 +16,7 @@ ES_PATH_CONF=/etc/elasticsearch
|
||||
#PID_DIR=/var/run/elasticsearch
|
||||
|
||||
# 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)
|
||||
#RESTART_ON_UPGRADE=true
|
||||
|
Reference in New Issue
Block a user