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 2015/10/14 15:37:05 UTC

[jira] [Closed] (UIMA-4585) DUCC Agent CPU percentage is wrong when JP spawn child procs

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

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

Assigned to 2.0.1

> DUCC Agent CPU percentage is wrong when JP spawn child procs
> ------------------------------------------------------------
>
>                 Key: UIMA-4585
>                 URL: https://issues.apache.org/jira/browse/UIMA-4585
>             Project: UIMA
>          Issue Type: Bug
>          Components: DUCC
>    Affects Versions: 2.0.0-Ducc
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>             Fix For: 2.1.0-Ducc, 2.0.1-Ducc
>
>
> Looks like an Agent is not calculating CPU percentage correctly when running with cgroups and JP spawns child processes. It correctly iterates over all processes in the cgroup but it keeps collecting CPU from the JP stat file in the /proc file system.
> To fix this, while iterating over procs in the cgroup, open process stat file to read the CPU. Make sure to close the file when done.



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