mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-10 15:38:26 -05:00
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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user