You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by xe...@apache.org on 2012/09/11 00:13:31 UTC

[12/13] git commit: Bump stack to 180k. Patch by brandonwilliams reviewed by jbellis for CASSANDRA-4631

Bump stack to 180k.
Patch by brandonwilliams reviewed by jbellis for CASSANDRA-4631


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

Branch: refs/heads/trunk
Commit: 567146e49201259f8c51dc7c84cbb8717e3c60c1
Parents: 76e092b
Author: Brandon Williams <br...@apache.org>
Authored: Fri Sep 7 10:59:56 2012 -0500
Committer: Brandon Williams <br...@apache.org>
Committed: Fri Sep 7 11:01:59 2012 -0500

----------------------------------------------------------------------
 conf/cassandra-env.sh |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/567146e4/conf/cassandra-env.sh
----------------------------------------------------------------------
diff --git a/conf/cassandra-env.sh b/conf/cassandra-env.sh
index 6fa37ed..95760dd 100644
--- a/conf/cassandra-env.sh
+++ b/conf/cassandra-env.sh
@@ -184,12 +184,8 @@ if [ "`uname`" = "Linux" ] ; then
     # 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.
-    if startswith "$JVM_VERSION" '1.7.'
-    then
-        JVM_OPTS="$JVM_OPTS -Xss180k"
-    else
-        JVM_OPTS="$JVM_OPTS -Xss160k"
-    fi
+    # u34 and greater need 180k
+    JVM_OPTS="$JVM_OPTS -Xss180k"
 fi
 echo "xss = $JVM_OPTS"