-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
%
1)Add transportConnector to activemq.xml:
<transportConnector name="mqtt" uri="mqtt://0.0.0.0:1883?maximumConnections=1000&wireFormat.maxFrameSize=104857600"/>
2) Start A-MQ
3) Run test attached.
4) After 1000 connections were started, try to log in into hawtio Hawtio becomes not available In Firefox is:
Unresponsive script: http://localhost:8181/hawtio/lib/sugar-1.3.6-custom.min.js?v=1.2-redhat-387:35
jconsole is still available In the log is every 6-8 seconds:
14:33:53,565 | ERROR | meSize=104857600 | TransportConnector | 131 - org.apache.activemq.activemq-osgi - 5.9.0.redhat-610387 | Could not accept connection : org.apache.activemq.transport.tcp.ExceededMaximumConnectionsException: Exceeded the maximum number of allowed client connections. See the 'maximumConnections' property on the TCP transport configuration URI in the ActiveMQ configuration file (e.g., activemq.xml) 14:33:59,966 | ERROR | meSize=104857600 | TransportConnector | 131 - org.apache.activemq.activemq-osgi - 5.9.0.redhat-610387 | Could not accept connection : org.apache.activemq.transport.tcp.ExceededMaximumConnectionsException: Exceeded the maximum number of allowed client connections. See the 'maximumConnections' property on the TCP transport configuration URI in the ActiveMQ configuration file (e.g., activemq.xml)