You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Lou DeGenaro (JIRA)" <de...@uima.apache.org> on 2016/03/30 17:48:25 UTC

[jira] [Updated] (UIMA-4770) UIMA DUCC: Agent not resetting process %CPU

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

Lou DeGenaro updated UIMA-4770:
-------------------------------
    Assignee: Jerry Cwiklik

> 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)