aboutsummaryrefslogtreecommitdiffstats
path: root/community/elasticsearch/elasticsearch.confd
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2017-02-19 17:37:26 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-03-04 19:42:00 +0000
commite8e5d8ec59aec693b0bec7d53c968b0e1673dc96 (patch)
tree1e16d15f8aa50312ec06cf9a675b030c5abd9b68 /community/elasticsearch/elasticsearch.confd
parent0ac6c3e84a420ce26c08e3bcae796cc1afa821d1 (diff)
downloadaports-e8e5d8ec59aec693b0bec7d53c968b0e1673dc96.tar.bz2
aports-e8e5d8ec59aec693b0bec7d53c968b0e1673dc96.tar.xz
community/elasticsearch: update to 5.2.1 / use supervise-daemon
ES now uses $ES_CONF_DIR/jvm.options to set java options so duplicate java options have been removed from the initd / conf.d service supervision with OpenRC's supervise-daemon added added README.alpine with notes for upgrading ES 2.x => 5.x
Diffstat (limited to 'community/elasticsearch/elasticsearch.confd')
-rw-r--r--community/elasticsearch/elasticsearch.confd13
1 files changed, 8 insertions, 5 deletions
diff --git a/community/elasticsearch/elasticsearch.confd b/community/elasticsearch/elasticsearch.confd
index d0852f42e9..b07e6232ef 100644
--- a/community/elasticsearch/elasticsearch.confd
+++ b/community/elasticsearch/elasticsearch.confd
@@ -17,6 +17,10 @@
# Placeholder [INSTANCE_NAME] means that it's omitted for _default (for
# user convenient when running just single instance).
#
+# Java options are by default set in the environment variable ES_JVM_OPTIONS:
+#
+# ES_CONF_DIR/jvm.options
+#
# User to run this ElasticSearch instance.
#user="elastico"
@@ -48,12 +52,11 @@
# The maximum number of filedescriptors to be allowed.
max_fd="65536"
-# Initial and maximum size of the heap in megabytes.
-# Note: This sets parameters -Xms and -Xmx.
-#java_heap_size="256"
-
# Additional options to pass to the JVM.
-java_opts="-Djna.nosys=true"
+#java_opts=""
+
+# The maximum mapped memory areas [vm.max_map_count]
+max_map_count="262144"
# Additional options to pass to the Elasticsearch.
#elastic_opts=