Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-1939

Thermos landing (host) page reports incorrect CPU rates when it is busy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.19.0
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            rezam Reza Motamedi
            rezam Reza Motamedi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: