[ 
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)

Reply via email to