Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8273526

Extend the OSContainer API pids controller with pids.current

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 18
    • Fix Version/s: 18
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b16
    • CPU:
      generic
    • OS:
      linux

      Description

      https://bugs.openjdk.java.net/browse/JDK-8266490
      extended the OSContainer API in order to also support the pids controller of cgroups. However only pids.max output was added with 8266490.
      There is a second parameter pids.current , see https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html#pid
      that would be helpful too and can be added to the OSContainer API .
      pids.current :
      A read-only single value file which exists on all cgroups.
      The number of processes currently in the cgroup and its descendants.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mbaesken Matthias Baesken
              Reporter:
              mbaesken Matthias Baesken
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: