cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremiah Jordan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-5319) Add new GC Log Rotation options to cassandra-env.sh
Date Fri, 08 Mar 2013 02:56:15 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-5319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jeremiah Jordan updated CASSANDRA-5319:
---------------------------------------

    Attachment: CASSANDRA-5319-1.1.diff

1.1 diff to add the options
                
> 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
>            Reporter: Jeremiah Jordan
>            Priority: Trivial
>         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

Mime
View raw message