You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Hari Shreedharan (JIRA)" <ji...@apache.org> on 2013/10/09 01:39:42 UTC

[jira] [Commented] (FLUME-2208) Jetty's default SocketSelector leaks File descriptors

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

Hari Shreedharan commented on FLUME-2208:
-----------------------------------------

Using SelectSocketChannel fixes the issue.

> Jetty's default SocketSelector leaks File descriptors
> -----------------------------------------------------
>
>                 Key: FLUME-2208
>                 URL: https://issues.apache.org/jira/browse/FLUME-2208
>             Project: Flume
>          Issue Type: Bug
>            Reporter: Hari Shreedharan
>            Assignee: Hari Shreedharan
>         Attachments: FLUME-2208.patch
>
>
> This causes each HTTP monitoring poll to leak one FD and each connection from an external client to HTTP Source to leak an FD when closed.  Each metrics poll causes lsof to show an FD that looks like this:
> java 3317 root 173u sock 0,5 31374 can't identify protocol
> This is because of a half-closed socket, whose close is incomplete. [JETTY-597|http://jira.codehaus.org/browse/JETTY-597] might be relevant.



--
This message was sent by Atlassian JIRA
(v6.1#6144)