Created
December 17, 2012 14:13
-
-
Save james1ewis/4318572 to your computer and use it in GitHub Desktop.
The part of my elasticsearch startup script that shows the jvm environment variables I'm using.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Directory where the ElasticSearch binary distribution resides | |
ES_HOME=/usr/share/$NAME | |
# Heap Size (defaults to 256m min, 1g max) | |
ES_HEAP_SIZE=6g | |
# Heap new generation | |
#ES_HEAP_NEWSIZE= | |
# max direct memory | |
#ES_DIRECT_SIZE= | |
# Additional Java OPTS | |
#ES_JAVA_OPTS= | |
# Maximum number of open files | |
MAX_OPEN_FILES=65535 | |
# Maximum amount of locked memory | |
#MAX_LOCKED_MEMORY= | |
# ElasticSearch log directory | |
LOG_DIR=/var/log/$NAME | |
# ElasticSearch data directory | |
DATA_DIR=/var/lib/$NAME | |
# ElasticSearch work directory | |
WORK_DIR=/tmp/$NAME | |
# ElasticSearch configuration directory | |
CONF_DIR=/etc/$NAME | |
# ElasticSearch configuration file (elasticsearch.yml) | |
CONF_FILE=$CONF_DIR/elasticsearch.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment