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

2018-02-09 Thread Jonathan Valliere (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16358434#comment-16358434 ] Jonathan Valliere commented on DIRMINA-1060: Emmanuel, I think you can close this ticket

Re: [jira] [Commented] (DIRMINA-1060) Handle the spinning selectors in Socket/Datagram Acceptor and Connector

2017-10-27 Thread Jonathan Valliere
IMHO the Connector is like creating a FileOutputStream or FileChannel; trying to open them and hitting the ulimit throws an Exception to the code trying to open. The difference between Acceptor and Connector is that the Acceptor is an automated process as part of the framework and not user-code.

Re: [jira] [Commented] (DIRMINA-1060) Handle the spinning selectors in Socket/Datagram Acceptor and Connector

2017-10-27 Thread Emmanuel Lécharny
Le 27/10/2017 à 15:58, Jonathan Valliere a écrit : > For connector, I would allow the error to flow all the way up the stack. Currently, the excption is caught, a Thread.sleep(1000) is called, and the ExceptionMonitor.exceptionCaught() method is called. -- Emmanuel Lecharny Symas.com

Re: [jira] [Commented] (DIRMINA-1060) Handle the spinning selectors in Socket/Datagram Acceptor and Connector

2017-10-27 Thread Jonathan Valliere
For connector, I would allow the error to flow all the way up the stack. On Fri, Oct 27, 2017 at 9:56 AM Emmanuel Lecharny (JIRA) wrote: > > [ >

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

2017-10-27 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16222402#comment-16222402 ] Emmanuel Lecharny commented on DIRMINA-1060: I have applied the patch with some log and

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

2017-10-27 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1640#comment-1640 ] Emmanuel Lecharny commented on DIRMINA-1060: Actually, this is quite smart. You create some

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

2017-10-27 Thread Jonathan Valliere (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1619#comment-1619 ] Jonathan Valliere commented on DIRMINA-1060: Correct, its a work around. There is no

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

2017-10-27 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1602#comment-1602 ] Emmanuel Lecharny commented on DIRMINA-1060: Ok, I see haw the {{select()}} can become crazy

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

2017-10-27 Thread Jonathan Valliere (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16222185#comment-16222185 ] Jonathan Valliere commented on DIRMINA-1060: Sorry, handle = File Handle = File Descriptor

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

2017-10-26 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16221680#comment-16221680 ] Emmanuel Lecharny commented on DIRMINA-1060: What do you mean by 'out of handle' ? Like when

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

2017-10-26 Thread Jonathan Valliere (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16221381#comment-16221381 ] Jonathan Valliere commented on DIRMINA-1060: For TCP connections `accept()` throws an

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

2017-10-26 Thread Emmanuel Lecharny (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16221079#comment-16221079 ] Emmanuel Lecharny commented on DIRMINA-1060: For {{Datagram}}, I don't think it makes any

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

2017-10-13 Thread Jonathan Valliere (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16203674#comment-16203674 ] Jonathan Valliere commented on DIRMINA-1060: Emmanuel, is this resolved? > Handle the