My clients connect to AMQ with this connection string: (tcp://amq1:61616,tcp://amq2:61616)?randomize=false&priorityBackup=true
It works - for some time. But sooner or later my AMQ server becomes unresponsive because the host it runs on runs out of resources (threads). The AMQ server basically kills it. activemq.log shows lots of entries like this: ... 2018-01-29 16:50:50,800 | WARN | Transport Connection to: tcp:// 172.13.2.145:45958 failed: java.net.SocketException: Connection reset | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///172.13.2.145:45958@61616 ... 2018-01-29 16:50:52,894 | WARN | Failed to register MBean org.apache.activemq:type=Broker,brokerName=amq1,connector=clientConnectors,connectorName=default,connectionViewType=clientId,connectionName=ID_e325fbc8d9c2-41743-1517236130397-0_22 ... ... And then I get spammed with thousands of lines like this: 2018-01-29 18:14:40,374 | WARN | Transport Connection to: tcp:// 172.13.2.150:51089 failed: java.io.EOFException | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///172.13.2.150:51089@61616 2018-01-29 18:14:40,455 | WARN | Transport Connection to: tcp:// 172.13.2.150:51091 failed: java.io.EOFException | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///172.13.2.150:51091@61616 2018-01-29 18:14:40,537 | WARN | Transport Connection to: tcp:// 172.13.2.150:51093 failed: java.io.EOFException | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///172.13.2.150:51093@61616 2018-01-29 18:14:40,617 | WARN | Transport Connection to: tcp:// 172.13.2.150:51095 failed: java.io.EOFException | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///172.13.2.150:51095@61616 2018-01-29 18:14:40,698 | WARN | Transport Connection to: tcp:// 172.13.2.150:51097 failed: java.io.EOFException | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///172.13.2.150:51097@61616 2018-01-29 18:14:40,780 | WARN | Transport Connection to: tcp:// 172.13.2.150:51099 failed: java.io.EOFException | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///172.13.2.150:51099@61616 2018-01-29 18:14:40,860 | WARN | Transport Connection to: tcp:// 172.13.2.150:51101 failed: ... Why is the AMQ server trying to connect to every single port on one of the client machines?