From 13c76baa72fbfe0109d9bea533d6e9f4fa64300a Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Mon, 21 May 2012 11:17:35 +0200 Subject: [PATCH] fix heap memory settings in default, and comment out all the options (in case they are changed in the init.d one) --- src/deb/default/elasticsearch | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/deb/default/elasticsearch b/src/deb/default/elasticsearch index f3cecf8af22..eb3800f9d34 100644 --- a/src/deb/default/elasticsearch +++ b/src/deb/default/elasticsearch @@ -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=