activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Franco Ng <franco...@ebshk.com>
Subject ActiveMQ cannot handle too many topic with redeliveryPlugin
Date Thu, 02 May 2019 01:51:12 GMT
Our market data would publish over 20,000 msg/s within 30,000 topics,
redeliveryPlugin and socketBufferSize, however, ActiveMQ seems unable to
handle this volume that CPU usage % is 50% and cannot publish any message to
subscriber(s) after certain starting time.  Even, I stop the market data
publishing, the CPU usage of ActiveMQ broker is still eat up 50%, cannot
drop for a long time and NO error/warning log recorded in activemq.log.

When I remove redeliveryPlugin and socketBufferSize from Broker
(activemq.xml), it resume normal.

Please help to solve.  Also, how to show redelivery message in log when
occur, thanks.

Activemq.xml (part)

<redeliveryPlugin fallbackToDeadLetter="true"
sendToDlqIfMaxRetriesExceeded="true">
<redeliveryPolicyMap>
<redeliveryPolicyMap>
<defaultEntry>
<redeliveryPolicy useCollisionAvoidance="true" maximumRedeliveries="1"
initialRedeliveryDelay="1000" redeliveryDelay="1000"/>
</defaultEntry>
</redeliveryPolicyMap>
</redeliveryPolicyMap>
</redeliveryPlugin>

 

<transportConnector name="openwire"
uri="tcp://0.0.0.0:61616?maximumConnections=3000&wireFormat.maxFrameSize=104857600&transport.socketBufferSize=655360&transport.ioBufferSize=81920"
/>



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Mime
View raw message