[ https://issues.apache.org/jira/browse/DIRMINA-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16222185#comment-16222185 ]
Jonathan Valliere commented on DIRMINA-1060: -------------------------------------------- Sorry, handle = File Handle = File Descriptor When reaching the ulimit, the Acceptor will spin out of control. This stops it. {code:java} protected java.nio.channels.SocketChannel accept(ServerSocketChannel value) throws IOException { try { return value.accept(); } catch (Throwable x) { // log.error("Error Calling Accept on Socket - Sleeping Acceptor Thread", x); try { Thread.sleep(50); } catch (InterruptedException e) { } } return null; } {code} > Handle the spinning selectors in Socket/Datagram Acceptor and Connector > ----------------------------------------------------------------------- > > Key: DIRMINA-1060 > URL: https://issues.apache.org/jira/browse/DIRMINA-1060 > Project: MINA > Issue Type: Bug > Affects Versions: 2.0.16 > Reporter: Emmanuel Lecharny > Fix For: 2.0.17 > > > We have a workaround for the selector spinning issue in NioProcessor, we need > to use it for the Acceptor/Connector Datagram/Socket implementation -- This message was sent by Atlassian JIRA (v6.4.14#64029)