Qpid
  1. Qpid
  2. QPID-3014

an inbalance in use of the CurrentActor stack holds 0-10 connections in memory after they are closed

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.8
    • Fix Version/s: 0.9
    • Component/s: Java Broker
    • Labels:
      None

      Description

      An inbalance in use of the CurrentActor stack holds 0-10 connections in memory after they are closed. Simply by opening and closing hundreds of connections, the broker can made to OOM. Analysis of the heap dump shows that the Threadlocal stacks used for CurrentActor are holding the connections in memory.

        Activity

        Robbie Gemmell created issue -
        Robbie Gemmell made changes -
        Field Original Value New Value
        Assignee Robbie Gemmell [ gemmellr ]
        Robbie Gemmell made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Robbie Gemmell made changes -
        Status In Progress [ 3 ] Ready To Review [ 10006 ]
        Hide
        Robbie Gemmell added a comment -

        Andrew can you review please? Thanks.

        Show
        Robbie Gemmell added a comment - Andrew can you review please? Thanks.
        Robbie Gemmell made changes -
        Assignee Robbie Gemmell [ gemmellr ] Andrew Kennedy [ andrew.kennedy ]
        Hide
        Andrew Kennedy added a comment -

        I would have moved the saving of _logActor in ServerConnection to the no-arg ctor, just to make it explicit what we're doing, but they are (should be) semantically identical.

        Show
        Andrew Kennedy added a comment - I would have moved the saving of _logActor in ServerConnection to the no-arg ctor, just to make it explicit what we're doing, but they are (should be) semantically identical.
        Hide
        Andrew Kennedy added a comment -

        Works.

        Show
        Andrew Kennedy added a comment - Works.
        Andrew Kennedy made changes -
        Status Ready To Review [ 10006 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Rob Godfrey made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        2d 16h 36m 1 Robbie Gemmell 24/Jan/11 09:30
        In Progress In Progress Reviewable Reviewable
        1h 7m 1 Robbie Gemmell 24/Jan/11 10:37
        Reviewable Reviewable Resolved Resolved
        4h 4m 1 Andrew Kennedy 24/Jan/11 14:41
        Resolved Resolved Closed Closed
        1479d 5h 25m 1 Rob Godfrey 11/Feb/15 20:07

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development