Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-4770

UIMA DUCC: Agent not resetting process %CPU

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0-Ducc
    • Component/s: DUCC
    • Labels:
      None

      Description

      The process metrics collector is not resetting child process percent CPU used when the process is idle. The following code in LinuxProcessMetricsProcessor.java is at fault:

      if (percentCPU > 0) {
      process.setCurrentCPU(currentCpuUsage);
      ....
      }
      if percentCPU == 0 the value for cpu usage is not reset and its old value keeps being published in node metrics.

        Attachments

          Activity

            People

            • Assignee:
              cwiklik Jerry Cwiklik
              Reporter:
              cwiklik Jerry Cwiklik
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: