Jerry Cwiklik created UIMA-4770:
-----------------------------------

             Summary: UIMA DUCC: Agent not resetting process %CPU 
                 Key: UIMA-4770
                 URL: https://issues.apache.org/jira/browse/UIMA-4770
             Project: UIMA
          Issue Type: Bug
          Components: DUCC
            Reporter: Jerry Cwiklik
             Fix For: 2.0.2-Ducc


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.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to