From: Wayne Schneider Date: Mon, 1 Aug 2016 19:54:54 +0000 (-0500) Subject: Zookeeper configuration. X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=27a519e4297aa21b0ed16b080a36378ac63e83a1;p=lui-solr.git Zookeeper configuration. --- diff --git a/conf/zookeeper/zoo.cfg b/conf/zookeeper/zoo.cfg index 61c0460..dc53f64 100644 --- a/conf/zookeeper/zoo.cfg +++ b/conf/zookeeper/zoo.cfg @@ -1,3 +1,8 @@ tickTime=2000 dataDir=/var/lib/masterkey/lui/zookeeper -clientPort=2181 \ No newline at end of file +clientPort=2181 +# initLimit=5 +# syncLimit=2 +# server.1=zookeeper1:2888:3888 +# server.2=zookeeper2:2888:3888 +# server.3=zookeeper3:2888:3888 diff --git a/debian/lui-zookeeper.default b/debian/lui-zookeeper.default index a6a318e..3b6d4bd 100755 --- a/debian/lui-zookeeper.default +++ b/debian/lui-zookeeper.default @@ -30,6 +30,9 @@ ZOO_LOG_DIR=/var/log/masterkey/lui ZOOPIDDIR=/var/lib/masterkey/lui ZOOPIDFILE=${ZOOPIDDIR}/zookeeper_server.pid +JMXDISABLE=1 +JVMFLAGS="-Xmx512m -Xms256m" + if [ "x$ZOOCFGDIR" = "x" ] then if [ -e "${ZOOKEEPER_PREFIX}/conf" ]; then