You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Manikandan P (JIRA)" <ji...@apache.org> on 2017/05/03 10:07:04 UTC

[jira] [Created] (KAFKA-5165) Kafka Logs Cleanup Not happening, Huge File Growth - Windows

Manikandan P created KAFKA-5165:
-----------------------------------

             Summary: Kafka Logs Cleanup Not happening, Huge File Growth - Windows
                 Key: KAFKA-5165
                 URL: https://issues.apache.org/jira/browse/KAFKA-5165
             Project: Kafka
          Issue Type: Bug
         Environment: windows, Kafka Server(Version: 0.9.0.1)
            Reporter: Manikandan P


We had set the below configuration: Retention hours as 1, Retention bytes as 150 MB in the server.properties in the Kafka Server(Version: 0.9.0.1). Also modified other settings as given below.

log.dirs=/tmp/kafka-logs  
log.retention.hours=1
log.retention.bytes=157286400
log.segment.bytes=1073741824
log.retention.check.interval.ms=300000
log.cleaner.enable=true
log.cleanup.policy=delete
After checking few days, Size of the Kafka log folder too huge as 13.2 GB. We have seen that Topic Offset getting updated and ignores the Old data but Log File doesnt reduce and has all the Old Data and become too huge. Could you help us to find out why Kafka is not deleting the logs(Physically). Do we need to change any configuration ?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)