Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-1311

broker high CPU usage when using masterslave: network connector and networkConnectorStartAsync=true

XMLWordPrintable

    • Hide

      Do not use networkConnectorStartAsync=true

      Show
      Do not use networkConnectorStartAsync=true
    • Hide

      Unit test to follow

      Show
      Unit test to follow

      Running a broker with

      <broker xmlns="http://activemq.apache.org/schema/core" brokerName="localhost" dataDirectory="${activemq.data}" networkConnectorStartAsync="true" >
      ...
        <networkConnectors>
          <networkConnector name="toNowhere" uri="masterslave:(tcp://localhost:62616,tcp://localhost:63616)"  />
        </networkConnectors>
      </broker>
      

      will cause a high cpu usage within a few mins after startup if the network bridge cannot be established (e.g. due to no one listening on specified address).

              Unassigned Unassigned
              rhn-support-tmielke Torsten Mielke
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: