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:
Shay Banon 2012-05-21 11:17:35 +02:00
parent d264890c4d
commit 13c76baa72
1 changed files with 12 additions and 12 deletions

View File

@ -1,24 +1,24 @@
# Run ElasticSearch as this user ID and group ID
ES_USER=elasticsearch
ES_GROUP=elasticsearch
#ES_USER=elasticsearch
#ES_GROUP=elasticsearch
# Minimum Heap memory to run ElasticSearch
ES_MIN_MEM=256m
# Maximum Heap memory to run ElasticSearch
ES_MAX_MEM=1g
# Heap Size (defaults to 256m min, 1g max)
#ES_HEAP_SIZE=2g
# ElasticSearch log directory
LOG_DIR=/var/log/elasticsearch
#LOG_DIR=/var/log/elasticsearch
# ElasticSearch data directory
DATA_DIR=/var/lib/elasticsearch
#DATA_DIR=/var/lib/elasticsearch
# ElasticSearch work directory
WORK_DIR=/tmp/elasticsearch
#WORK_DIR=/tmp/elasticsearch
# ElasticSearch configuration directory
CONF_DIR=/etc/elasticsearch
#CONF_DIR=/etc/elasticsearch
# ElasticSearch configuration file (elasticsearch.yml)
CONF_FILE=/etc/elasticsearch/elasticsearch.yml
#CONF_FILE=/etc/elasticsearch/elasticsearch.yml
# Additional Java OPTS
#ES_JAVA_OPTS=