[ 
https://issues.apache.org/jira/browse/UIMA-4770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jerry Cwiklik closed UIMA-4770.
-------------------------------
    Resolution: Fixed

Fixed to reset CPU

> 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
>            Assignee: Jerry Cwiklik
>             Fix For: 2.1.0-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