4cb22b5643
* modules/logstash/files/elasticseach.default: Elasticsearch does not handle running out of memory very gracefully. Recommended allocation is half of the hosts memory. Give elasticsearch 4GB of the 8GB host. * modules/logstash/manifests/elasticseach.pp: Copy new elasticsearch defaults file into place on the host. Change-Id: I9ed14148c901cd3fd4ec38333a722821adb77ff5 Reviewed-on: https://review.openstack.org/27870 Approved: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
39 lines
889 B
Plaintext
39 lines
889 B
Plaintext
# Run ElasticSearch as this user ID and group ID
|
|
#ES_USER=elasticsearch
|
|
#ES_GROUP=elasticsearch
|
|
|
|
# Heap Size (defaults to 256m min, 1g max)
|
|
ES_HEAP_SIZE=4g
|
|
|
|
# Heap new generation
|
|
#ES_HEAP_NEWSIZE=
|
|
|
|
# max direct memory
|
|
#ES_DIRECT_SIZE=
|
|
|
|
# Maximum number of open files, defaults to 65535.
|
|
#MAX_OPEN_FILES=65535
|
|
|
|
# Maximum locked memory size. Set to "unlimited" if you use the
|
|
# bootstrap.mlockall option in elasticsearch.yml. You must also set
|
|
# ES_HEAP_SIZE.
|
|
#MAX_LOCKED_MEMORY=unlimited
|
|
|
|
# ElasticSearch log directory
|
|
#LOG_DIR=/var/log/elasticsearch
|
|
|
|
# ElasticSearch data directory
|
|
#DATA_DIR=/var/lib/elasticsearch
|
|
|
|
# ElasticSearch work directory
|
|
#WORK_DIR=/tmp/elasticsearch
|
|
|
|
# ElasticSearch configuration directory
|
|
#CONF_DIR=/etc/elasticsearch
|
|
|
|
# ElasticSearch configuration file (elasticsearch.yml)
|
|
#CONF_FILE=/etc/elasticsearch/elasticsearch.yml
|
|
|
|
# Additional Java OPTS
|
|
#ES_JAVA_OPTS=
|