mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRMINA-1060) Handle the spinning selectors in Socket/Datagram Acceptor and Connector
Date Fri, 27 Oct 2017 04:00:01 GMT

    [ https://issues.apache.org/jira/browse/DIRMINA-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16221680#comment-16221680
] 

Emmanuel Lecharny commented on DIRMINA-1060:
--------------------------------------------

What do you mean by 'out of handle' ? Like when you have reach {{ulimit}} on linux ?

In {{NIO}}, we never call the {{accept()}} method explicitely, we register some interest on
the {{OP_ACCEPT}} event and get woke up when it happens, which means that the {{select()}}
call will return and we will be able to process the accepted connection.

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

Mime
View raw message