[ 
https://issues.apache.org/activemq/browse/AMQ-2440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54636#action_54636
 ] 

Danilo Tuler commented on AMQ-2440:
-----------------------------------

Another thing that disturbs me is that TcpTransport.closeStreams is never 
called.
The only call is commented out at TcpTransport.doStop.

> stomp+nio leaking file descriptor on client drop
> ------------------------------------------------
>
>                 Key: AMQ-2440
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2440
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Transport
>    Affects Versions: 5.3.0
>         Environment: Windows XP
>            Reporter: Danilo Tuler
>            Assignee: Dejan Bosanac
>         Attachments: AMQ-2440-1.txt, StompDropTestConsumer.java, 
> StompDropTestServer.java
>
>
> The bug is observed on code checkout from 
> https://svn.apache.org/repos/asf/activemq/tags/activemq-5.3.0
> A server is initiated with stomp+nio transport on port 61612.
> A client connects. A SelectorWorker is created on SelectorManager:68.
> If the client drops the connection an exception is received at 
> StompNIOTransport:91.
> "java.io.IOException: An existing connection was forcibly closed by the 
> remote host".
> But selector are not cleaned up. It works with stomp transport. But not with 
> stomp+nio.
> What I see in the end is an increasing number of "connections" if the JVM.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to