parent
78ab6c5b7f
commit
81b6326891
|
@ -60,7 +60,7 @@ ES_HOME=/usr/share/$NAME
|
||||||
#ES_JAVA_OPTS=
|
#ES_JAVA_OPTS=
|
||||||
|
|
||||||
# Maximum number of open files
|
# Maximum number of open files
|
||||||
MAX_OPEN_FILES=65535
|
MAX_OPEN_FILES=65536
|
||||||
|
|
||||||
# Maximum amount of locked memory
|
# Maximum amount of locked memory
|
||||||
#MAX_LOCKED_MEMORY=
|
#MAX_LOCKED_MEMORY=
|
||||||
|
|
|
@ -35,7 +35,7 @@ fi
|
||||||
ES_USER="elasticsearch"
|
ES_USER="elasticsearch"
|
||||||
ES_GROUP="elasticsearch"
|
ES_GROUP="elasticsearch"
|
||||||
ES_HOME="/usr/share/elasticsearch"
|
ES_HOME="/usr/share/elasticsearch"
|
||||||
MAX_OPEN_FILES=65535
|
MAX_OPEN_FILES=65536
|
||||||
MAX_MAP_COUNT=262144
|
MAX_MAP_COUNT=262144
|
||||||
LOG_DIR="/var/log/elasticsearch"
|
LOG_DIR="/var/log/elasticsearch"
|
||||||
DATA_DIR="/var/lib/elasticsearch"
|
DATA_DIR="/var/lib/elasticsearch"
|
||||||
|
|
|
@ -60,7 +60,7 @@ ES_STARTUP_SLEEP_TIME=5
|
||||||
# Specifies the maximum file descriptor number that can be opened by this process
|
# Specifies the maximum file descriptor number that can be opened by this process
|
||||||
# When using Systemd, this setting is ignored and the LimitNOFILE defined in
|
# When using Systemd, this setting is ignored and the LimitNOFILE defined in
|
||||||
# /usr/lib/systemd/system/elasticsearch.service takes precedence
|
# /usr/lib/systemd/system/elasticsearch.service takes precedence
|
||||||
#MAX_OPEN_FILES=65535
|
#MAX_OPEN_FILES=65536
|
||||||
|
|
||||||
# The maximum number of bytes of memory that may be locked into RAM
|
# The maximum number of bytes of memory that may be locked into RAM
|
||||||
# Set to "unlimited" if you use the 'bootstrap.mlockall: true' option
|
# Set to "unlimited" if you use the 'bootstrap.mlockall: true' option
|
||||||
|
|
|
@ -29,7 +29,7 @@ StandardOutput=journal
|
||||||
StandardError=inherit
|
StandardError=inherit
|
||||||
|
|
||||||
# Specifies the maximum file descriptor number that can be opened by this process
|
# Specifies the maximum file descriptor number that can be opened by this process
|
||||||
LimitNOFILE=65535
|
LimitNOFILE=65536
|
||||||
|
|
||||||
# Specifies the maximum number of bytes of memory that may be locked into RAM
|
# Specifies the maximum number of bytes of memory that may be locked into RAM
|
||||||
# Set to "infinity" if you use the 'bootstrap.mlockall: true' option
|
# Set to "infinity" if you use the 'bootstrap.mlockall: true' option
|
||||||
|
|
|
@ -16,7 +16,7 @@ Each package features a configuration file, which allows you to set the followin
|
||||||
`ES_HEAP_SIZE`:: The heap size to start with
|
`ES_HEAP_SIZE`:: The heap size to start with
|
||||||
`ES_HEAP_NEWSIZE`:: The size of the new generation heap
|
`ES_HEAP_NEWSIZE`:: The size of the new generation heap
|
||||||
`ES_DIRECT_SIZE`:: The maximum size of the direct memory
|
`ES_DIRECT_SIZE`:: The maximum size of the direct memory
|
||||||
`MAX_OPEN_FILES`:: Maximum number of open files, defaults to `65535`
|
`MAX_OPEN_FILES`:: Maximum number of open files, defaults to `65536`
|
||||||
`MAX_LOCKED_MEMORY`:: 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`:: 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_MAP_COUNT`:: Maximum number of memory map areas a process may have. If you use `mmapfs` as index store type, make sure this is set to a high value. For more information, check the https://github.com/torvalds/linux/blob/master/Documentation/sysctl/vm.txt[linux kernel documentation] about `max_map_count`. This is set via `sysctl` before starting elasticsearch. Defaults to `65535`
|
`MAX_MAP_COUNT`:: Maximum number of memory map areas a process may have. If you use `mmapfs` as index store type, make sure this is set to a high value. For more information, check the https://github.com/torvalds/linux/blob/master/Documentation/sysctl/vm.txt[linux kernel documentation] about `max_map_count`. This is set via `sysctl` before starting elasticsearch. Defaults to `65535`
|
||||||
`LOG_DIR`:: Log directory, defaults to `/var/log/elasticsearch`
|
`LOG_DIR`:: Log directory, defaults to `/var/log/elasticsearch`
|
||||||
|
|
Loading…
Reference in New Issue