[ 
https://issues.apache.org/jira/browse/ARTEMIS-1999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16563596#comment-16563596
 ] 

ASF GitHub Bot commented on ARTEMIS-1999:
-----------------------------------------

GitHub user franz1981 opened a pull request:

    https://github.com/apache/activemq-artemis/pull/2203

    ARTEMIS-1999 Broker uses 100% core's CPU time if msg grouping is used

    The deliver loop won't give up trying to deliver messages when
    back-pressure kicks in (credits and/or TCP) if msg grouping is used and
    there are many consumers registered: this change will allow the loop
    to exit by instructing the logic that the group consumer is the only
    consumer to check.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/franz1981/activemq-artemis ARTEMIS-1999

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/2203.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2203
    
----
commit a667561066f0f4c2e1c95dbde0e9eb9e16bde7a5
Author: Francesco Nigro <nigro.fra@...>
Date:   2018-07-31T09:16:26Z

    ARTEMIS-1999 Broker uses 100% core's CPU time if msg grouping is used
    
    The deliver loop won't give up trying to deliver messages when
    back-pressure kicks in (credits and/or TCP) if msg grouping is used and
    there are many consumers registered: this change will allow the loop
    to exit by instructing the logic that the group consumer is the only
    consumer to check.

----


> Broker is using 100% core's CPU time if message grouping is used
> ----------------------------------------------------------------
>
>                 Key: ARTEMIS-1999
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1999
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 2.6.2
>            Reporter: Francesco Nigro
>            Assignee: Francesco Nigro
>            Priority: Major
>             Fix For: 2.6.3
>
>         Attachments: cpu.svg
>
>
> When consuming messages with message grouping set on the broker seem to 
> consume excessive amount of CPU time. On 12 core CPU it can be observed that 
> one core goes 100% and stays that way as long as there is more than one 
> consumer attached to a queue. Once the number of consumers is reduced to 1 
> the CPU usage goes to normal. But moment another consumer is attached another 
> CPU core goes 100%.
>  



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

Reply via email to