You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/05/05 16:22:12 UTC

[jira] [Commented] (FLUME-2908) NetcatSource - SocketChannel not closed when session is broken

    [ https://issues.apache.org/jira/browse/FLUME-2908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15272571#comment-15272571 ] 

ASF subversion and git services commented on FLUME-2908:
--------------------------------------------------------

Commit 46ae5accd03e5b8b18d3e1fb52761c1df4e51e5a in flume's branch refs/heads/trunk from [~jarcec]
[ https://git-wip-us.apache.org/repos/asf?p=flume.git;h=46ae5ac ]

FLUME-2908: NetcatSource - SocketChannel not closed when session is broken

(Grant Henke via Jarek Jarcec Cecho)


> NetcatSource - SocketChannel not closed when session is broken
> --------------------------------------------------------------
>
>                 Key: FLUME-2908
>                 URL: https://issues.apache.org/jira/browse/FLUME-2908
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>    Affects Versions: v1.3.0
>            Reporter: Grant Henke
>            Assignee: Grant Henke
>             Fix For: v1.7.0
>
>         Attachments: FLUME-2908-1.patch, FLUME-2908.patch
>
>
> When the NetcatSource socketChannel receives an IOException due to an abruptly closed session the exception is caught but the socketChannel is never closed. This results in leaked sockets and ever growing file descriptors. 
> Thanks to [~pdvorak] for finding the leak. 



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