kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan P (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (KAFKA-3754) Kafka default -Xloggc settings should include GC log rotation flags
Date Wed, 25 May 2016 20:47:13 GMT

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

Ryan P reassigned KAFKA-3754:
-----------------------------

    Assignee: Ryan P

> Kafka default -Xloggc settings should include GC log rotation flags
> -------------------------------------------------------------------
>
>                 Key: KAFKA-3754
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3754
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Ryan P
>            Assignee: Ryan P
>            Priority: Minor
>
> By default kafka-run-class.sh defines it's GC settings like so:
> KAFKA_GC_LOG_OPTS="-Xloggc:$LOG_DIR/$GC_LOG_FILE_NAME -verbose:gc -XX:+PrintGCDetails
-XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps "
> This has to potential to generate incredibly large log files when left unmanaged. 
> Instead it should include some sort of default GC log retention policy by adding the
following flags:
> -XX:+UseGCLogFileRotation 
> -XX:NumberOfGCLogFiles= <number of files>
>  -XX:GCLogFileSize=<size of files>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message