Skip to content

Instantly share code, notes, and snippets.

@bfleming-ciena
Last active August 29, 2015 14:14
Show Gist options
  • Save bfleming-ciena/46a168d7ee56821c87b5 to your computer and use it in GitHub Desktop.
Save bfleming-ciena/46a168d7ee56821c87b5 to your computer and use it in GitHub Desktop.
Exhibitor/Zookeeper - My setup that works (note the java RAM usage if you're system doesn't have 4GB)
servers-spec=
zookeeper-data-directory=/zookeeper/data
zookeeper-install-directory=/zookeeper/*
zookeeper-log-directory=
log-index-directory=/zookeeper/log-index
cleanup-period-ms=200000
check-ms=2000
backup-period-ms=600000
client-port=2181
cleanup-max-files=20
backup-max-store-ms=21600000
connect-port=2888
backup-extra=throttle\=&bucket-name\=<bucket>r&key-prefix\=backup&max-retries\=4&retry-sleep-ms\=30000
observer-threshold=0
election-port=3888
zoo-cfg-extra=tickTime\=500&initLimit\=15&syncLimit\=20
auto-manage-instances-settling-period-ms=8000
auto-manage-instances=1
auto-manage-instances-fixed-ensemble-size=0
java-environment=export JAVA_OPTS\="-Xms2000m -Xmx4000m"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment