mirror of https://github.com/apache/cassandra
Add new GC Log Rotation options to cassandra-env.sh
patch by Jeremiah Jordan; reviewed by jbellis for CASSANDRA-5319
This commit is contained in:
parent
b5f172624a
commit
09ee5db735
|
|
@ -216,6 +216,12 @@ fi
|
|||
# JVM_OPTS="$JVM_OPTS -XX:+PrintPromotionFailure"
|
||||
# JVM_OPTS="$JVM_OPTS -XX:PrintFLSStatistics=1"
|
||||
# JVM_OPTS="$JVM_OPTS -Xloggc:/var/log/cassandra/gc-`date +%s`.log"
|
||||
# If you are using JDK 6u34 7u2 or later you can enable GC log rotation
|
||||
# don't stick the date in the log name if rotation is on.
|
||||
# JVM_OPTS="$JVM_OPTS -Xloggc:/var/log/cassandra/gc.log"
|
||||
# JVM_OPTS="$JVM_OPTS -XX:+UseGCLogFileRotation"
|
||||
# JVM_OPTS="$JVM_OPTS -XX:NumberOfGCLogFiles=10"
|
||||
# JVM_OPTS="$JVM_OPTS -XX:GCLogFileSize=10M"
|
||||
|
||||
# uncomment to have Cassandra JVM listen for remote debuggers/profilers on port 1414
|
||||
# JVM_OPTS="$JVM_OPTS -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1414"
|
||||
|
|
|
|||
Loading…
Reference in New Issue