cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r1041953 - /cassandra/branches/cassandra-0.7/conf/cassandra-env.sh
Date Fri, 03 Dec 2010 18:59:03 GMT
Author: jbellis
Date: Fri Dec  3 18:59:02 2010
New Revision: 1041953

URL: http://svn.apache.org/viewvc?rev=1041953&view=rev
Log:
add commented-out JVM_OPTS lines for GC logging
patch by mdennis; reviewed by jbellis for CASSANDRA-1807

Modified:
    cassandra/branches/cassandra-0.7/conf/cassandra-env.sh

Modified: cassandra/branches/cassandra-0.7/conf/cassandra-env.sh
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.7/conf/cassandra-env.sh?rev=1041953&r1=1041952&r2=1041953&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.7/conf/cassandra-env.sh (original)
+++ cassandra/branches/cassandra-0.7/conf/cassandra-env.sh Fri Dec  3 18:59:02 2010
@@ -78,7 +78,7 @@ if [ "`uname`" = "Linux" ] ; then
     JVM_OPTS="$JVM_OPTS -Xss128k"
 fi
 
-# GC tuning options.
+# GC tuning options
 JVM_OPTS="$JVM_OPTS -XX:+UseParNewGC" 
 JVM_OPTS="$JVM_OPTS -XX:+UseConcMarkSweepGC" 
 JVM_OPTS="$JVM_OPTS -XX:+CMSParallelRemarkEnabled" 
@@ -87,6 +87,14 @@ JVM_OPTS="$JVM_OPTS -XX:MaxTenuringThres
 JVM_OPTS="$JVM_OPTS -XX:CMSInitiatingOccupancyFraction=75"
 JVM_OPTS="$JVM_OPTS -XX:+UseCMSInitiatingOccupancyOnly"
 
+# GC logging options -- uncomment to enable
+# JVM_OPTS="$JVM_OPTS -XX:+PrintGCDetails"
+# JVM_OPTS="$JVM_OPTS -XX:+PrintGCTimeStamps"
+# JVM_OPTS="$JVM_OPTS -XX:+PrintClassHistogram"
+# JVM_OPTS="$JVM_OPTS -XX:+PrintTenuringDistribution"
+# JVM_OPTS="$JVM_OPTS -XX:+PrintGCApplicationStoppedTime"
+# JVM_OPTS="$JVM_OPTS -Xloggc:/var/log/cassandra/gc.log"
+
 # Prefer binding to IPv4 network intefaces (when net.ipv6.bindv6only=1). See 
 # http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6342561 (short version:
 # comment out this entry to enable IPv6 support).



Mime
View raw message