[
https://issues.apache.org/jira/browse/DIRMINA-1041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15430401#comment-15430401
]
Emmanuel Lecharny commented on DIRMINA-1041:
--------------------------------------------
Now, that is weird. I can have the test failing constantly on Mac OSX, but for
that, I have to run the loop 100 000 times. And strange enough, it blocks
around 16350 (more or less). On Linux, it seems to block around 1000 loops. At
this point, I suspect we are reaching a limit that is OS dependent. A {{netstat
-a | wc -l}} just gives a number around 500, so we are not facing a {{ulimit}}
problem.
Diging...
> WriteFuture.await() hangs when the connection is closed remotely before await
> is invoked
> ----------------------------------------------------------------------------------------
>
> Key: DIRMINA-1041
> URL: https://issues.apache.org/jira/browse/DIRMINA-1041
> Project: MINA
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0.13
> Reporter: Gijsbert van den Brink
> Attachments: DIRMINA1041Test.java
>
>
> When in a high throughput scenario a TCP connection is closed remotely before
> one of the `await` methods on WriteFuture is invoked, the `await` method
> hangs.
> We've actually been seeing this issue for quite some time in our production
> environment in an application that uses Apache Camel with the camel-mina2 and
> camel-hl7 components. I was finally able to reproduce the issue in a unit
> test (see attached).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)