Qpid
  1. Qpid
  2. QPID-4170

JMX threads can spin in the Queue MBean if there is a failure when viewing message content

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 0.12, 0.13, 0.14, 0.15, 0.16, 0.17
    • Fix Version/s: 0.18
    • Component/s: Java Broker
    • Labels:
      None

      Description

      During the work on QPID-4164 it was found that JMX threads can spin in the Queue MBean if they fail when viewing message content, looping down into the message and back store asking for content which will never be returned. These threads will never stop spinning, and will consume CPU resources and introduce additional/unnecessary resource contention within the store layer.

      The view content method of the Queue MBean should be updated to avoid this possibility.

        Activity

        Hide
        Robbie Gemmell added a comment -
        Show
        Robbie Gemmell added a comment - Fix and tests added in http://svn.apache.org/viewvc?view=revision&revision=1367084
        Hide
        Robbie Gemmell added a comment -

        Keith, could you review this change please?

        Show
        Robbie Gemmell added a comment - Keith, could you review this change please?
        Hide
        Keith Wall added a comment -

        Reviewed, no comments.

        Show
        Keith Wall added a comment - Reviewed, no comments.
        Hide
        Justin Ross added a comment -

        Reviewed by Keith. Approved for 0.18.

        Show
        Justin Ross added a comment - Reviewed by Keith. Approved for 0.18.
        Hide
        Robbie Gemmell added a comment -

        Change merged to the 0.18 branch.

        Show
        Robbie Gemmell added a comment - Change merged to the 0.18 branch.
        Hide
        Robbie Gemmell added a comment -

        Attaching a patch for 0.16, should anyone need to resolve this issue for an existing system.

        It is different than the trunk/0.18 changes because the Queue MBean was rewritten when moved to the new management-jmx module during 0.18 development.

        Show
        Robbie Gemmell added a comment - Attaching a patch for 0.16, should anyone need to resolve this issue for an existing system. It is different than the trunk/0.18 changes because the Queue MBean was rewritten when moved to the new management-jmx module during 0.18 development.

          People

          • Assignee:
            Robbie Gemmell
            Reporter:
            Robbie Gemmell
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development