2016-04-03 10:09:24 -04:00
|
|
|
[horizontal]
|
2016-04-06 17:06:30 -04:00
|
|
|
`JAVA_HOME`::
|
|
|
|
|
|
|
|
Set a custom Java path to be used.
|
|
|
|
|
2016-04-03 10:09:24 -04:00
|
|
|
`MAX_OPEN_FILES`::
|
|
|
|
|
2019-01-16 17:19:12 -05:00
|
|
|
Maximum number of open files, defaults to `65535`.
|
2016-04-03 10:09:24 -04:00
|
|
|
|
|
|
|
`MAX_LOCKED_MEMORY`::
|
|
|
|
|
2016-11-08 08:33:07 -05:00
|
|
|
Maximum locked memory size. Set to `unlimited` if you use the
|
2016-06-01 16:25:51 -04:00
|
|
|
`bootstrap.memory_lock` option in elasticsearch.yml.
|
2016-04-03 10:09:24 -04:00
|
|
|
|
|
|
|
`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
|
2017-11-29 03:44:25 -05:00
|
|
|
Elasticsearch. Defaults to `262144`.
|
2016-04-03 10:09:24 -04:00
|
|
|
|
2017-08-14 17:19:06 -04:00
|
|
|
`ES_PATH_CONF`::
|
2016-04-03 10:09:24 -04:00
|
|
|
|
2017-08-14 17:19:06 -04:00
|
|
|
Configuration file directory (which needs to include `elasticsearch.yml`,
|
|
|
|
`jvm.options`, and `log4j2.properties` files); defaults to
|
|
|
|
`/etc/elasticsearch`.
|
2016-04-03 10:09:24 -04:00
|
|
|
|
|
|
|
`ES_JAVA_OPTS`::
|
|
|
|
|
|
|
|
Any additional JVM system properties you may want to apply.
|
|
|
|
|
|
|
|
`RESTART_ON_UPGRADE`::
|
|
|
|
|
|
|
|
Configure restart on package upgrade, defaults to `false`. This means you
|
2017-11-29 03:44:25 -05:00
|
|
|
will have to restart your Elasticsearch instance after installing a
|
2016-04-03 10:09:24 -04:00
|
|
|
package manually. The reason for this is to ensure, that upgrades in a
|
|
|
|
cluster do not result in a continuous shard reallocation resulting in high
|
|
|
|
network traffic and reducing the response times of your cluster.
|