pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases/elasticsearch/files
Module Name: pkgsrc
Committed By: fhajny
Date: Fri Apr 6 15:48:46 UTC 2018
Modified Files:
pkgsrc/databases/elasticsearch/files: elasticsearch.sh
pkgsrc/databases/elasticsearch/files/smf: manifest.xml
Log Message:
databases/elasticsearch: Change default minimum and maximum heap to the same value, as recommended by Elasticsearch docs (improves performance, avoids locking lags).
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
pkgsrc/databases/elasticsearch/files/elasticsearch.sh
cvs rdiff -u -r1.6 -r1.7 \
pkgsrc/databases/elasticsearch/files/smf/manifest.xml
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/databases/elasticsearch/files/elasticsearch.sh
diff -u pkgsrc/databases/elasticsearch/files/elasticsearch.sh:1.4 pkgsrc/databases/elasticsearch/files/elasticsearch.sh:1.5
--- pkgsrc/databases/elasticsearch/files/elasticsearch.sh:1.4 Tue Nov 8 09:18:01 2016
+++ pkgsrc/databases/elasticsearch/files/elasticsearch.sh Fri Apr 6 15:48:46 2018
@@ -1,6 +1,6 @@
#! @RCD_SCRIPTS_SHELL@
#
-# $NetBSD: elasticsearch.sh,v 1.4 2016/11/08 09:18:01 fhajny Exp $
+# $NetBSD: elasticsearch.sh,v 1.5 2018/04/06 15:48:46 fhajny Exp $
#
# PROVIDE: elasticsearch
# REQUIRE: DAEMON
@@ -17,7 +17,7 @@ start_precmd="elasticsearch_precmd"
: ${elasticsearch_user:=@ES_USER@}
: ${elasticsearch_group:=@ES_GROUP@}
: ${elasticsearch_config:="@PKG_SYSCONFDIR@/elasticsearch.yml"}
-: ${elasticsearch_min_mem:="256m"}
+: ${elasticsearch_min_mem:="1g"}
: ${elasticsearch_max_mem:="1g"}
: ${elasticsearch_props:=""}
: ${elasticsearch_fdlimit:="768"}
Index: pkgsrc/databases/elasticsearch/files/smf/manifest.xml
diff -u pkgsrc/databases/elasticsearch/files/smf/manifest.xml:1.6 pkgsrc/databases/elasticsearch/files/smf/manifest.xml:1.7
--- pkgsrc/databases/elasticsearch/files/smf/manifest.xml:1.6 Mon Nov 20 15:36:47 2017
+++ pkgsrc/databases/elasticsearch/files/smf/manifest.xml Fri Apr 6 15:48:46 2018
@@ -24,7 +24,7 @@
<exec_method type='method' name='stop' exec=':kill' timeout_seconds='60' />
<exec_method type='method' name='refresh' exec=':kill -HUP' timeout_seconds='60' />
<property_group name='application' type='application'>
- <propval name='min_heap' type='astring' value='256m' />
+ <propval name='min_heap' type='astring' value='1g' />
<propval name='max_heap' type='astring' value='1g' />
<propval name='store_type' type='astring' value='niofs' />
<propval name='class_path' type='astring' value='@ES_BASEDIR@/lib/*' />
Home |
Main Index |
Thread Index |
Old Index