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/10 23:45:18 UTC

[7/8] 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/2a3b0c05
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/2a3b0c05
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/2a3b0c05

Branch: refs/heads/trunk
Commit: 2a3b0c05f79b53e4e0176813e9abca640c93f01d
Parents: e681a1a
Author: Brandon Williams <br...@apache.org>
Authored: Fri Sep 7 10:59:56 2012 -0500
Committer: Pavel Yaskevich <xe...@apache.org>
Committed: Tue Sep 11 00:06:19 2012 +0300

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


http://git-wip-us.apache.org/repos/asf/cassandra/blob/2a3b0c05/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"