[ 
https://issues.apache.org/jira/browse/AMQ-5849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Feingold resolved AMQ-5849.
-----------------------------------
    Resolution: Not A Problem

False alarm

> MQTT Connection stealing causes resource leak
> ---------------------------------------------
>
>                 Key: AMQ-5849
>                 URL: https://issues.apache.org/jira/browse/AMQ-5849
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: MQTT
>    Affects Versions: 5.12.0
>         Environment: Win2012 6GB allocated for JVM, 4 CPU
>            Reporter: Michael Feingold
>
> The problem manifests itself when a big number of connections tries to 
> re-establish the connection. Here is the scenario:
> 1. A client creates 10000 MQTT connections.
> 2. The server is cut off the client using the firewall on the server
> 3. Wait a couple of minutes to let the server close all connections
> 4. Restore the network connectivity
> after some time the connections seem to be reconnected, but we observe 
> connection thrashing - the client reports that some of the connection is 
> lost, and the server reports that it is stealing connection as the client 
> reconnects. This process keeps happening continuously and as it happens the 
> number of threads keeps growing into 10000 and more.
> If the connection stealing is disabled, the number of threads remains in low 
> 100s.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to