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

Threads Blocked On ActiveMQConnection.ensureConnectionInfoSent

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: JBoss A-MQ 6.2
    • Fix Version/s: JBoss A-MQ 6.3
    • Component/s: broker
    • Labels:
      None

      Description

      Multiple threads get blocked trying to gain entrance to ActiveMQConnection.ensureConnectionInfoSent(). The one thread that gained access is blocking all other threads whilst waiting for a response from broker.

      This issue is very similar to old one at https://issues.jboss.org/browse/PROD-1330 and seems related to https://issues.apache.org/jira/browse/AMQ-2798

      The attached thread dump is also very similar to :

      https://issues.jboss.org/secure/attachment/12377901/threaddump_03052012_632pm.log

      Broker topology is a master-slave cluster.

      In this case, the blockage does not occur when using a failover transport with just two broker URLs - only happens when a third broker URL is added or may just take longer when using a 2-broker URL. The blockage doesn’t occur right away, and seems to occur when master becomes quite busy. The thread holding the mutex seems to wait indefinitely.

        Gliffy Diagrams

          Attachments

          1. Acpt_esba01_slave_cleaned.zip
            3.02 MB
          2. Acpt_esba02_master_cleaned.zip
            2.04 MB
          3. Acpt_esba03_slave_cleaned.zip
            5.31 MB
          4. AcptMarch28th.zip
            5.68 MB
          5. ConnectionInfoReponseTimeout.patch
            5 kB
          6. esb01-1460991013687.tdump
            2.40 MB
          7. esb02-1460990910818.tdump
            1.79 MB
          8. esb03-1460990087711.tdump
            963 kB
          9. threaddump-1458134700764.tdump
            2.15 MB
          10. threaddump-1464811874001_esb02.tdump
            696 kB

            Issue Links

              Activity

                People

                • Assignee:
                  tabish121 Timothy Bish
                  Reporter:
                  joef551 Joe Fernandez
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: