You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Franco NG (JIRA)" <ji...@apache.org> on 2019/04/29 08:10:00 UTC

[jira] [Created] (AMQ-7190) ActiveMQ cannot handle too many topic with redeliveryPlugin

Franco NG created AMQ-7190:
------------------------------

             Summary: ActiveMQ cannot handle too many topic with redeliveryPlugin
                 Key: AMQ-7190
                 URL: https://issues.apache.org/jira/browse/AMQ-7190
             Project: ActiveMQ
          Issue Type: Improvement
          Components: Broker
    Affects Versions: 5.15.8
            Reporter: Franco NG
             Fix For: 5.15.8
         Attachments: activemq.xml

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&amp;wireFormat.maxFrameSize=104857600&amp;transport.socketBufferSize=655360&amp;transport.ioBufferSize=81920" />



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)