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

Lock contention when processing large volume of REST API requests

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Critical
    • Resolution: Fixed
    • 28.1.1
    • 29.0.0
    • None
    • Security Level: Default (Default Security Scheme)
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: