hadoop-zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mahadev konar (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (ZOOKEEPER-517) NIO factory fails to close connections when the number of file handles run out.
Date Tue, 10 Aug 2010 17:45:17 GMT

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

Mahadev konar reassigned ZOOKEEPER-517:
---------------------------------------

    Assignee: Benjamin Reed

> NIO factory fails to close connections when the number of file handles run out.
> -------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-517
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-517
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: server
>            Reporter: Mahadev konar
>            Assignee: Benjamin Reed
>            Priority: Critical
>             Fix For: 3.3.2, 3.4.0
>
>
> The code in NIO factory is such that if we fail to accept a connection due to some reasons
(too many file handles maybe one of them) we do not close the connections that are in CLOSE_WAIT.
We need to call an explicit close on these sockets and then close them. One of the solutions
might be to move doIO before accpet so that we can still close connection even if we cannot
accept connections.

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


Mime
View raw message