cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremiah Jordan (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-5319) Add new GC Log Rotation options to
Date Fri, 08 Mar 2013 02:24:12 GMT
Jeremiah Jordan created CASSANDRA-5319:

             Summary: Add new GC Log Rotation options to
                 Key: CASSANDRA-5319
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Jeremiah Jordan
            Priority: Trivial

JDK u34 and later added built in GC log rotation:

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
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

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:

View raw message