GitHub user gaohoward opened a pull request:
https://github.com/apache/activemq-artemis/pull/2430
ARTEMIS-2174 Broker reconnect cause OOM with scale down
When a node tries to reconnects to another node in a scale down cluster,
the reconnect request gets denied by the other node and keeps retrying,
which causes tasks in the ordered executor accumulate and eventually OOM.
The fix is to change the ActiveMQPacketHandler#handleCheckForFailover
to allow reconnect if the scale down node is the node itself.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gaohoward/activemq-artemis e_2174
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/2430.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2430
----
commit 2a108ac8817cb6c2ca3b29092108a3e35e7f5690
Author: Howard Gao <howard.gao@...>
Date: 2018-11-14T11:21:48Z
ARTEMIS-2174 Broker reconnect cause OOM with scale down
When a node tries to reconnects to another node in a scale down cluster,
the reconnect request gets denied by the other node and keeps retrying,
which causes tasks in the ordered executor accumulate and eventually OOM.
The fix is to change the ActiveMQPacketHandler#handleCheckForFailover
to allow reconnect if the scale down node is the node itself.
----
---