increase -Xss to 256k

Patch by eevans; reviewed by jbellis for CASSANDRA-5517


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/16fcd152
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/16fcd152
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/16fcd152

Branch: refs/heads/trunk
Commit: 16fcd1529bf3ff3c09a721cdff8f8866c36dd839
Parents: e7c96c4
Author: Eric Evans <eev...@apache.org>
Authored: Mon Jul 8 13:23:14 2013 -0500
Committer: Eric Evans <eev...@apache.org>
Committed: Thu Aug 15 20:41:12 2013 +0200

----------------------------------------------------------------------
 conf/cassandra-env.sh | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/16fcd152/conf/cassandra-env.sh
----------------------------------------------------------------------
diff --git a/conf/cassandra-env.sh b/conf/cassandra-env.sh
index e1d6751..12cef7e 100644
--- a/conf/cassandra-env.sh
+++ b/conf/cassandra-env.sh
@@ -184,14 +184,9 @@ fi
 
 startswith() { [ "${1#$2}" != "$1" ]; }
 
-if [ "`uname`" = "Linux" ] ; then
-    # reduce the per-thread stack size to minimize the impact of Thrift
-    # thread-per-client.  (Best practice is for client connections to
-    # be pooled anyway.) Only do so on Linux where it is known to be
-    # supported.
-    # u34 and greater need 180k
-    JVM_OPTS="$JVM_OPTS -Xss180k"
-fi
+# Per-thread stack size.
+JVM_OPTS="$JVM_OPTS -Xss256k"
+
 echo "xss = $JVM_OPTS"
 
 # GC tuning options

Reply via email to