This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

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.
  • Loading branch information...
bsimpson63 committed Mar 1, 2017
1 parent a09f43c commit 1b66f1caedfb4e8fcdeadbce4f37f005b4ab409d
Showing with 5 additions and 0 deletions.
  1. +5 −0 install/setup_cassandra.sh
@@ -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")

0 comments on commit 1b66f1c

Please sign in to comment.