You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Jonathan Valliere (JIRA)" <ji...@apache.org> on 2017/10/26 22:49:00 UTC

[jira] [Comment Edited] (DIRMINA-1060) Handle the spinning selectors in Socket/Datagram Acceptor and Connector

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

Jonathan Valliere edited comment on DIRMINA-1060 at 10/26/17 10:48 PM:
-----------------------------------------------------------------------

For TCP connections {{accept()}} throws an {{Exception}} when out of handles.  What I did in the other framework was to capture that {{Exception}} and sleep the {{Thread}} for 1ms.


was (Author: johnnyv):
For TCP connections `accept()` throws an `Exception` when out of handles.  What I did in the other framework was to capture that `Exception` and sleep the `Thread` for 1ms.

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