You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Matthias J. Sax (JIRA)" <ji...@apache.org> on 2017/02/22 01:02:44 UTC

[jira] [Updated] (KAFKA-3619) State lock file handle leaks

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

Matthias J. Sax updated KAFKA-3619:
-----------------------------------
    Affects Version/s:     (was: 0.10.0.0)

> State lock file handle leaks
> ----------------------------
>
>                 Key: KAFKA-3619
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3619
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>            Reporter: Greg Fodor
>            Assignee: Greg Fodor
>            Priority: Critical
>             Fix For: 0.10.0.0
>
>
> The .lock files in the state store directories do not seem to be having their file handles freed (despite the locks being freed), so on a complex job the number of file handles in use goes up rapidly as the locks are taken for the cleanup routine at the end of the thread run loop.  Running lsof shows the number of open filehandles on the .lock file increasing rapidly over time. In a separate test project, I reproduced the issue and determined that in order for the filehandle to be relinquished the FileChannel instance must be properly closed. 
> PR:
> https://github.com/apache/kafka/pull/1267



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