You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2013/04/04 00:05:15 UTC
[jira] [Updated] (CASSANDRA-5319) Add new GC Log Rotation options
to cassandra-env.sh
[ https://issues.apache.org/jira/browse/CASSANDRA-5319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-5319:
--------------------------------------
Component/s: Packaging
Fix Version/s: 1.2.3
> Add new GC Log Rotation options to cassandra-env.sh
> ---------------------------------------------------
>
> Key: CASSANDRA-5319
> URL: https://issues.apache.org/jira/browse/CASSANDRA-5319
> Project: Cassandra
> Issue Type: Improvement
> Components: Packaging
> Reporter: Jeremiah Jordan
> Assignee: Jeremiah Jordan
> Priority: Trivial
> Fix For: 1.2.3
>
> Attachments: CASSANDRA-5319-1.1.diff, CASSANDRA-5319-1.2.diff, CASSANDRA-5319-trunk.diff
>
>
> JDK u34 and later added built in GC log rotation:
> http://www.oracle.com/technetwork/java/javase/2col/6u34-bugfixes-1733379.html
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6941923
> 1) -XX:+UseGCLogRotation must be used with -Xloggc:<filename>
> 2) -XX:NumberOfGClogFiles=<number of files> must be >=1, default is one
> 3) -XX:GCLogFileSize=<number>M (or K) default will be set to 512K
> if UseGCLogRotation set and -Xloggc gives file name, do Log rotation, depends on other flag settings.
> if NumberOfGClogFiles = 1, using same file, rotate log when reaches file capicity (set by GCLogFileSize) in <filename>.0
> if NumberOfGClogFiles > 1, rotate between files <filename>.0, <filename>.1, ..., <filename>.n-1
> We should add these to the commented out gc logging options in cassandra-env.sh
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira