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

Lock contention when processing large volume of REST API requests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 28.1.1
    • Fix Version/s: 29.0.0
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      The following stack trace was identified as a bottleneck when running performance tests:

      This write lock is invoked in the path of validating user credentials and creates a source of contention for Jetty's worker threads: https://github.com/OpenNMS/opennms/blob/opennms-28.1.1-1/opennms-config/src/main/java/org/opennms/netmgt/config/UserManager.java#L1177

      Overview of system threads:

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration