fix heap memory settings in default, and comment out all the options (in case they are changed in the init.d one)
This commit is contained in:
parent
d264890c4d
commit
13c76baa72
|
@ -1,24 +1,24 @@
|
||||||
# Run ElasticSearch as this user ID and group ID
|
# Run ElasticSearch as this user ID and group ID
|
||||||
ES_USER=elasticsearch
|
#ES_USER=elasticsearch
|
||||||
ES_GROUP=elasticsearch
|
#ES_GROUP=elasticsearch
|
||||||
|
|
||||||
# Minimum Heap memory to run ElasticSearch
|
# Heap Size (defaults to 256m min, 1g max)
|
||||||
ES_MIN_MEM=256m
|
#ES_HEAP_SIZE=2g
|
||||||
|
|
||||||
# Maximum Heap memory to run ElasticSearch
|
|
||||||
ES_MAX_MEM=1g
|
|
||||||
|
|
||||||
# ElasticSearch log directory
|
# ElasticSearch log directory
|
||||||
LOG_DIR=/var/log/elasticsearch
|
#LOG_DIR=/var/log/elasticsearch
|
||||||
|
|
||||||
# ElasticSearch data directory
|
# ElasticSearch data directory
|
||||||
DATA_DIR=/var/lib/elasticsearch
|
#DATA_DIR=/var/lib/elasticsearch
|
||||||
|
|
||||||
# ElasticSearch work directory
|
# ElasticSearch work directory
|
||||||
WORK_DIR=/tmp/elasticsearch
|
#WORK_DIR=/tmp/elasticsearch
|
||||||
|
|
||||||
# ElasticSearch configuration directory
|
# ElasticSearch configuration directory
|
||||||
CONF_DIR=/etc/elasticsearch
|
#CONF_DIR=/etc/elasticsearch
|
||||||
|
|
||||||
# ElasticSearch configuration file (elasticsearch.yml)
|
# ElasticSearch configuration file (elasticsearch.yml)
|
||||||
CONF_FILE=/etc/elasticsearch/elasticsearch.yml
|
#CONF_FILE=/etc/elasticsearch/elasticsearch.yml
|
||||||
|
|
||||||
|
# Additional Java OPTS
|
||||||
|
#ES_JAVA_OPTS=
|
||||||
|
|
Loading…
Reference in New Issue