sysconfig-file.asciidoc 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. [horizontal]
  2. `JAVA_HOME`::
  3. Set a custom Java path to be used.
  4. `MAX_OPEN_FILES`::
  5. Maximum number of open files, defaults to `65536`.
  6. `MAX_LOCKED_MEMORY`::
  7. Maximum locked memory size. Set to `unlimited` if you use the
  8. `bootstrap.memory_lock` option in elasticsearch.yml.
  9. `MAX_MAP_COUNT`::
  10. Maximum number of memory map areas a process may have. If you use `mmapfs`
  11. as index store type, make sure this is set to a high value. For more
  12. information, check the
  13. https://github.com/torvalds/linux/blob/master/Documentation/sysctl/vm.txt[linux kernel documentation]
  14. about `max_map_count`. This is set via `sysctl` before starting
  15. Elasticsearch. Defaults to `262144`.
  16. `ES_PATH_CONF`::
  17. Configuration file directory (which needs to include `elasticsearch.yml`,
  18. `jvm.options`, and `log4j2.properties` files); defaults to
  19. `/etc/elasticsearch`.
  20. `ES_JAVA_OPTS`::
  21. Any additional JVM system properties you may want to apply.
  22. `RESTART_ON_UPGRADE`::
  23. Configure restart on package upgrade, defaults to `false`. This means you
  24. will have to restart your Elasticsearch instance after installing a
  25. package manually. The reason for this is to ensure, that upgrades in a
  26. cluster do not result in a continuous shard reallocation resulting in high
  27. network traffic and reducing the response times of your cluster.