You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by 付 传淮 <fu...@outlook.com> on 2019/05/02 04:09:19 UTC

答复: ActiveMQ cannot handle too many topic with redeliveryPlugin

Can you provide any dump file:
Just like threaddump or heapdump?

-------------
Personal Email



-----邮件原件-----
发件人: Franco Ng <fr...@ebshk.com> 
发送时间: 2019年5月2日 9:51
收件人: users@activemq.apache.org
主题: ActiveMQ cannot handle too many topic with redeliveryPlugin

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