Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-12648

AgentsRepo instances are leaked during realm creation

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.0
    • Fix Version/s: 6.0.0, 14.1.2, 5.5.2
    • Component/s: sms
    • Labels:
      None
    • Needs backport:
      Yes
    • Needs QA verification:
      Yes
    • Functional tests:
      No
    • Are the reproduction steps defined?:
      Yes and I used the same an in the description

      Description

      Bug description

      As part of the realm creation process new agent related entries are added to the configuration store by the usage of AgentsRepo. The issue is that the AgentsRepo instances are never actually shut down, meaning that these instances never deregister their ServiceConfigManager and ServiceSchemaManager listeners, causing a minor leak.

      How to reproduce the issue

      Create a bunch of realms and see your heap very slowly grow with AgentsRepo instances.

      Expected behaviour

      AgentsRepo instances are shut down once they are no longer needed.

      Current behaviour

      They stay around.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                peter.major Peter Major [X] (Inactive)
                Reporter:
                peter.major Peter Major [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: