Uploaded image for project: 'Puppet Server'
  1. Puppet Server
  2. SERVER-1821

Track fix for TransientNativeMemory::Magazine leak in new JRuby 9k release

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: SERVER 5.0.0
    • Component/s: None
    • Labels:
      None
    • Release Notes:
      Not Needed
    • Release Notes Summary:
      We haven't released versions of Puppet Server with this leak, fortunately, so we shouldn't need to document it in the release notes.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Per some work memory leak testing work done in SERVER-1778, we found a case where a TransientNativeMemory::Magazine object stored as a ThreadLocal was leaked each time the corresponding thread fell out of scope - e.g., when the Jetty web server would naturally recycle threads or if a service reload were performed. Roughly 1K of memory is leaked each time.

      A fix for this has been rolled into the latest version of jnr-ffi, 2.1.6. We should keep this ticket open to track the rollup of the newer jnr-ffi version into a newer version of JRuby 9k that can be bumped into Puppet Server.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jeremy.barlow Jeremy Barlow
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support