aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reza Motamedi (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (AURORA-1939) Thermos landing (host) page reports incorrect CPU rates when it is busy
Date Wed, 19 Jul 2017 22:44:00 GMT

    [ https://issues.apache.org/jira/browse/AURORA-1939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16093862#comment-16093862
] 

Reza Motamedi edited comment on AURORA-1939 at 7/19/17 10:43 PM:
-----------------------------------------------------------------

This seems to be totally related to psutil. I contacted the developers there.

https://github.com/giampaolo/psutil/issues/1110


was (Author: rezam):
This seems to be totally related to psutil. I contacted the developers there.

> Thermos landing (host) page reports incorrect CPU rates when it is busy
> -----------------------------------------------------------------------
>
>                 Key: AURORA-1939
>                 URL: https://issues.apache.org/jira/browse/AURORA-1939
>             Project: Aurora
>          Issue Type: Bug
>            Reporter: Reza Motamedi
>            Priority: Minor
>
> Thermos Observer uses `psutil` to monitor resource consumption of Thermos Processes.
On a busy machine, I have noticed negative CPU values when visiting the Thermos landing page.
> In my test I reproduced this by starting many processes that constantly create short
lived children. This indicates that in time between `process_collector_psutil` looks up the
Process children and the time it calculates the CPU time the pid of the child is actually
reused by another much younger process, which leads to negative CPU times.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message