hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-7146) RPC server leaks file descriptors
Date Tue, 15 Feb 2011 21:20:58 GMT

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

Todd Lipcon updated HADOOP-7146:
--------------------------------

    Attachment: fd-leak.txt

here's a fix, but should add a unit test. There's a way you can use platform mxbeans to find
the number of open FDs, but I can't quite track down the right API at the moment.

> RPC server leaks file descriptors
> ---------------------------------
>
>                 Key: HADOOP-7146
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7146
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: fd-leak.txt
>
>
> Both the Listener and Responder thread call Selector.open but don't have a matching .close().
This causes a leak of anonymous pipes. Not a big deal because people rarely close and re-open
servers, but worth fixing.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message