Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-9233

Possible thread leak in SnmpUtils

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 19.0.0, 19.0.1, 19.1.0
    • Fix Version/s: 20.0.0, 20.0.1
    • Component/s: Data Collection - SNMP
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon - April 19th, Horizon - April 26th

      Description

      A few user on the discuss list have reported OpenNMS crashing with errors of the form: java.lang.OutOfMemoryError: unable to create new native thread.

      In this particular thread, http://marc.info/?l=opennms-discuss&m=148822545512791&w=2, the user attached the hprof file which shows thousands threads named "DefaultUDPTransportMapping_0.0.0.0/0".

      This could be related to the changes made in https://issues.opennms.org/browse/NMS-8813, but after auditing the code, I did not find any problems.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                j-white Jesse White
                Reporter:
                j-white Jesse White
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: