cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eev...@apache.org
Subject git commit: increase -Xss to 256k
Date Thu, 15 Aug 2013 18:48:16 GMT
Updated Branches:
  refs/heads/trunk fa0b7cf8b -> e890b1f2c


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

Branch: refs/heads/trunk
Commit: e890b1f2ccee051d27ff3bec9b6e8ef63e7ff508
Parents: fa0b7cf
Author: Eric Evans <eevans@apache.org>
Authored: Mon Jul 8 13:23:14 2013 -0500
Committer: Eric Evans <eevans@apache.org>
Committed: Thu Aug 15 20:46:37 2013 +0200

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


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


Mime
View raw message