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

he yongqiang resolved HADOOP-3701.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.17.0

this error seems is caused by jdk 1.5's bug 
:http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6215050
i replace all the occurrence of SocketSelector.open().socket() with new 
Socket(). It seems work.

> Too many trash sockets and trash pipes opened
> ---------------------------------------------
>
>                 Key: HADOOP-3701
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3701
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.17.0
>         Environment: Linux  2.6.18-53.el5PAE #1 SMP Mon Nov 12 02:55:09 EST 
> 2007 i686 i686 i386 GNU/Linux
> jdk 1.5.0
>            Reporter: he yongqiang
>             Fix For: 0.17.0
>
>
> We encounted too many open files exception.
> And we found the datanode server daemon has opened too many sockets and 
> pipes. And more surprisingly,most of the sockets are connects to remote data 
> node's 50010 port and are with state CLOSE_WAIT,such as 
> tcp        1      0 ::ffff:10.61.0.161:33776    ::ffff:10.61.0.162:50010    
> CLOSE_WAIT  27637/java          off (0.00/0/0)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to