Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-5245

UIMA-DUCC: refactor agent to fetch child process metrics from cgroups

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0-Ducc
    • Component/s: DUCC
    • Labels:
      None

      Description

      Currently ducc gets swap, rss, major faults, and cpu usage for each child process from variety of sources including ps, external scripts, cgroups. All needed metrics are available in cgroups. The rss, swap and pgin can be fetched from memory.stat file.

      If cgroups are not ON, the values for the above metrics will be set to -1 and shown as N/A to the user in the duccmon.

        Activity

        Hide
        cwiklik Jerry Cwiklik added a comment -

        Refactored code to fetch process related metrics like rss, cpu usage from cgroups

        Show
        cwiklik Jerry Cwiklik added a comment - Refactored code to fetch process related metrics like rss, cpu usage from cgroups
        Hide
        cwiklik Jerry Cwiklik added a comment -

        Agent keeps opening statm and stat files from /proc even though metrics are only fetched from cgroups. Remove code that opens and closes these files

        Show
        cwiklik Jerry Cwiklik added a comment - Agent keeps opening statm and stat files from /proc even though metrics are only fetched from cgroups. Remove code that opens and closes these files
        Hide
        cwiklik Jerry Cwiklik added a comment -

        removed code related to processing stat and statm metrics

        Show
        cwiklik Jerry Cwiklik added a comment - removed code related to processing stat and statm metrics

          People

          • Assignee:
            cwiklik Jerry Cwiklik
            Reporter:
            cwiklik Jerry Cwiklik
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development