You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/05/16 14:37:00 UTC

[jira] [Work logged] (ARTEMIS-5467) High CPU usage in OutboundStore.generateMqttId

     [ https://issues.apache.org/jira/browse/ARTEMIS-5467?focusedWorklogId=969569&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-969569 ]

ASF GitHub Bot logged work on ARTEMIS-5467:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 16/May/25 14:36
            Start Date: 16/May/25 14:36
    Worklog Time Spent: 10m 
      Work Description: jbertram opened a new pull request, #5676:
URL: https://github.com/apache/activemq-artemis/pull/5676

   (no comment)




Issue Time Tracking
-------------------

            Worklog Id:     (was: 969569)
    Remaining Estimate: 0h
            Time Spent: 10m

> High CPU usage in OutboundStore.generateMqttId
> ----------------------------------------------
>
>                 Key: ARTEMIS-5467
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5467
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: MQTT
>            Reporter: Evgeniy Devyatykh
>            Assignee: Justin Bertram
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.42.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Since ARTEMIS-4646 MQTT message IDs generated in the cycle but if a client (malicous ot just bugged) with QoS 1 will not send ACKs and just consume incoming messages all possible IDs will be used and the cycle goes to infinite loop.  This leads to high CPU usage and even broker self kill by Critical Analyzer.
> {noformat}
> 2025-04-09 04:43:57,606 WARN  [org.apache.activemq.artemis.utils.critical.CriticalMeasure] Component org.apache.activemq.artemis.core.server.impl.QueueImpl is expired on path 2
> 2025-04-09 04:43:57,606 INFO  [org.apache.activemq.artemis.core.server] AMQ224107: The Critical Analyzer detected slow paths on the broker.  It is recommended that you enable trace logs on org.apache.activemq.artemis.utils.critical while you troubleshoot this issue. You should disable the trace logs when you have finished troubleshooting.
> 2025-04-09 04:43:57,606 ERROR [org.apache.activemq.artemis.core.server] AMQ224079: The process for the virtual machine will be killed, as component QueueImpl[name=tracker-server.emd.#, postOffice=PostOfficeImpl [server=ActiveMQServerImpl::name=amq-broker], temp=false]@2aef497c is not responsive {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact