setup_cassandra: Increase the per-thread stack size

This used to be set to 256k in cassandra version 1.2.19, but we
recently downgraded to version 1.2.11 where it's set too low.
This commit is contained in:
Brian Simpson
2017-02-28 16:25:42 -08:00
parent a09f43c9bc
commit 1b66f1caed

View File

@@ -24,6 +24,11 @@
###############################################################################
# Configure Cassandra
###############################################################################
# update the per-thread stack size. this used to be set to 256k in cassandra
# version 1.2.19, but we recently downgraded to 1.2.11 where it's set too low
sed -i -e 's/-Xss180k/-Xss256k/g' /etc/cassandra/cassandra-env.sh
python <<END
import pycassa
sys = pycassa.SystemManager("localhost:9160")