You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Matthias J. Sax (Jira)" <ji...@apache.org> on 2020/03/13 21:01:00 UTC

[jira] [Updated] (KAFKA-9371) Disk space is not released after Kafka clears data due to retention settings

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

Matthias J. Sax updated KAFKA-9371:
-----------------------------------
    Component/s:     (was: streams)

> Disk space is not released after Kafka clears data due to retention settings
> ----------------------------------------------------------------------------
>
>                 Key: KAFKA-9371
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9371
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.2.0
>         Environment: CentOS 7.7
>            Reporter: Arda Savran
>            Priority: Major
>              Labels: kafka
>
> We defined retention time on topics for 15 minutes. It looks like Kafka is deleting the messages as configured however the disk space is not restored. "df" output shows 30G for kafka-logs instead of the real size which is supposed to be 1Gb. 
>  {{/usr/sbin/lsof | grep deleted }}
> output shows a bunch of files under kafka-logs that are deleted but they are still consuming space.
> Is this a known issue? Is there a setting that I can apply to kafka broker server?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)