Skip to content

Commit 3311614

Browse files
author
Deepinder Setia
committed
Part of cassandra patch not needed after upgrade to latest version since stack size has been bumped up
1 parent 7ce6876 commit 3311614

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

‎contrail/cassandra-env.sh.patch‎

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,3 @@
1111

1212
if [ "x$MAX_HEAP_SIZE" = "x" ] && [ "x$HEAP_NEWSIZE" = "x" ]; then
1313
calculate_heap_sizes
14-
@@ -124,13 +124,13 @@
15-
JVM_OPTS="$JVM_OPTS -XX:HeapDumpPath=$CASSANDRA_HEAPDUMP_DIR/cassandra-`date +%s`-pid$$.hprof"
16-
fi
17-
18-
-if [ "`uname`" = "Linux" ] ; then
19-
- # reduce the per-thread stack size to minimize the impact of Thrift
20-
- # thread-per-client. (Best practice is for client connections to
21-
- # be pooled anyway.) Only do so on Linux where it is known to be
22-
- # supported.
23-
- JVM_OPTS="$JVM_OPTS -Xss128k"
24-
-fi
25-
+#if [ "`uname`" = "Linux" ] ; then
26-
+# # reduce the per-thread stack size to minimize the impact of Thrift
27-
+# # thread-per-client. (Best practice is for client connections to
28-
+# # be pooled anyway.) Only do so on Linux where it is known to be
29-
+# # supported.
30-
+# JVM_OPTS="$JVM_OPTS -Xss128k"
31-
+#fi
32-
33-
# GC tuning options
34-
JVM_OPTS="$JVM_OPTS -XX:+UseParNewGC"

0 commit comments

Comments
 (0)