Skip to content

Commit

Permalink
setup_cassandra: Increase the per-thread stack size
Browse files Browse the repository at this point in the history
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 9, 2017
1 parent a09f43c commit 1b66f1c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions install/setup_cassandra.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 1b66f1c

Please sign in to comment.