uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry Cwiklik (JIRA)" <...@uima.apache.org>
Subject [jira] [Created] (UIMA-4585) DUCC Agent CPU percentage is wrong when JP spawn child procs
Date Wed, 02 Sep 2015 19:00:47 GMT
Jerry Cwiklik created UIMA-4585:
-----------------------------------

             Summary: 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


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)

Mime
View raw message