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

[TESTBUG] jdk docker/TestDockerMemoryMetrics.java fails on systems w/o kernel memory accounting

    XMLWordPrintable

Details

    • b21

    Description

      Test fails on OL/RHEL when using Docker version 18.09:

      docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \\"process_linux.go:367: setting cgroup config for procHooks process caused \\\\\\"kernel memory accounting disabled in this runc build\\\\\\"\\"": unknown.

      https://github.com/opencontainers/runc/commit/6a2c1559684

      "Kernel memory accounting is known to be broken in some kernels,
      specifically the ones from RHEL7 (including RHEL 7.5). Those
      kernels do not support kernel memory reclaim, and are prone to
      oopses. Unconditionally enabling kmem acct on such kernels lead
      to bugs"

      Attachments

        Issue Links

          Activity

            People

              mseledtsov Mikhailo Seledtsov
              ctornqvi Christian Tornqvist
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: