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

High CPU usage due to DataCollectionConfigDao.getConfiguredResourceTypes() while Collectd starts

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.12.8, 1.13.3
    • 1.12.9, 1.13.4
    • Data Collection - SNMP
    • Security Level: Default (Default Security Scheme)
    • None

    Description

      Analyzing a big installation of OpenNMS (~ 8000 nodes, ~ 45000 monitored services), I've discovered thanks to a JFR that I took 1 hour after starting OpenNMS that the "hot method" (or the most called and/or expensive method,) was DataCollectionConfigDao.getConfigured ResourceTypes().

      When OpenNMS starts, Collectd is going to schedule data collection for all the nodes, and of course that involves calling that method.

      It is necessary to accelerate that method, for a similar reason to the problem reported on NMS-6748.

      Attachments

        Activity

          People

            agalue Alejandro Galue
            agalue Alejandro Galue
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: