You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org> on 2016/01/26 15:57:39 UTC
[jira] [Created] (UIMA-4770) UIMA DUCC: Agent not resetting process
%CPU
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)