CpuLoad and SystemCpuLoad in OperatingSystem MXBean returns -1.0

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 17
    • Affects Version/s: 16, 17
    • Component/s: core-svc
    • None

      I got -1.0 from both CpuLoad and SystemCpuLoad in OperatingSystem MXBean when I run the application on Fedora 33 x64 which is installed cgroups V2. Please see the attached image which I captured JConsole.

      I do not run the application in the container, nor do not run with resource limitation on cgroups, so JMX should report CPU load on host value in this case.

            Assignee:
            Yasumasa Suenaga
            Reporter:
            Yasumasa Suenaga
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: