Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8C6DFE20D for ; Fri, 8 Mar 2013 02:56:19 +0000 (UTC) Received: (qmail 54783 invoked by uid 500); 8 Mar 2013 02:56:19 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 54400 invoked by uid 500); 8 Mar 2013 02:56:18 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 54025 invoked by uid 99); 8 Mar 2013 02:56:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Mar 2013 02:56:15 +0000 Date: Fri, 8 Mar 2013 02:56:15 +0000 (UTC) From: "Jeremiah Jordan (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-5319) Add new GC Log Rotation options to cassandra-env.sh MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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: > 2) -XX:NumberOfGClogFiles= must be >=1, default is one > 3) -XX:GCLogFileSize=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 .0 > if NumberOfGClogFiles > 1, rotate between files .0, .1, ..., .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