Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-1825

Broker is using 100% core's CPU time if message grouping is used

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • AMQ 7.2.1.GA
    • AMQ 7.2.0.GA
    • broker-core
    • None
    • Hide
      • Start AMQ 7 broker.
      • attached more than one consumer to a queue
      • send a large number of messages to the queue.
      • attach top to the broker process
        -press 1 to monitor individual CPU cores. One of the cores will be using 100% of the CPU time. (see attached screen shot)
      Show
      Start AMQ 7 broker. attached more than one consumer to a queue send a large number of messages to the queue. attach top to the broker process -press 1 to monitor individual CPU cores. One of the cores will be using 100% of the CPU time. (see attached screen shot)

      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%.

        1. cpu.svg
          30 kB
        2. CPU.png
          CPU.png
          359 kB

            fnigro Francesco Nigro
            rhn-support-toross Tom Ross
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: