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

[linux] Experimental support for cgroup memory limits in container (ie Docker) environments

    Details

    • Subcomponent:
    • Resolved In Build:
      b150
    • OS:
      linux

      Backports

        Description

        We have an open RFE targeted to JDK 10 to get the JVM to play nicely with memory limits imposed by a Docker container (through the Linux cgroups facility): JDK-8146115

        There has been a non-Oracle submission to get some basic support for this into 9:

        http://mail.openjdk.java.net/pipermail/hotspot-dev/2016-November/025404.html

        then:

        http://mail.openjdk.java.net/pipermail/hotspot-dev/2016-December/025406.html

        It is proposed for this RFE that we add an experimental VM option, such as -XX:+UseCGroupMemoryLimitForHeap, to opt-in to using the value in /sys/fs/cgroup/memory/memory.limit_in_bytes as the value for phys_mem as suggested in the submission.

        This will allow us to get quick feedback from the community and customers as to how things work, and allow us to shape the full RFE for JDK 10.

          Issue Links

            Activity

            dholmes David Holmes created issue -
            dholmes David Holmes made changes -
            Field Original Value New Value
            Link This issue relates to JDK-8146115 [ JDK-8146115 ]
            dholmes David Holmes made changes -
            Fix Version/s 9 [ 14949 ]
            dholmes David Holmes made changes -
            Description We have an open RFE targeted to JDK 10 to get the JVM to play nicely with memory limits imposed by a Docker container (through the Linux cgroups facility): JDK-8146115

            There has been a community submission to get some basic support for this into 9:

            http://mail.openjdk.java.net/pipermail/hotspot-dev/2016-November/025404.html

            then:

            http://mail.openjdk.java.net/pipermail/hotspot-dev/2016-December/025406.html

            It is proposed for this RFE that we add an experimental VM option, such as -XX:+UseCgroupMemoryLimit, to opt-in to using the value in /sys/fs/cgroup/memory/memory.limit_in_bytes as the value for phys_mem as suggested in the submission.

            This will allow us to get quick feedback from the community and customers as to how things work, and allow us to shape the full RFE for JDK 10.
            We have an open RFE targeted to JDK 10 to get the JVM to play nicely with memory limits imposed by a Docker container (through the Linux cgroups facility): JDK-8146115

            There has been a community submission to get some basic support for this into 9:

            http://mail.openjdk.java.net/pipermail/hotspot-dev/2016-November/025404.html

            then:

            http://mail.openjdk.java.net/pipermail/hotspot-dev/2016-December/025406.html

            It is proposed for this RFE that we add an experimental VM option, such as -XX:+UseCGroupMemoryLimitForHeap, to opt-in to using the value in /sys/fs/cgroup/memory/memory.limit_in_bytes as the value for phys_mem as suggested in the submission.

            This will allow us to get quick feedback from the community and customers as to how things work, and allow us to shape the full RFE for JDK 10.
            mr Mark Reinhold made changes -
            Description We have an open RFE targeted to JDK 10 to get the JVM to play nicely with memory limits imposed by a Docker container (through the Linux cgroups facility): JDK-8146115

            There has been a community submission to get some basic support for this into 9:

            http://mail.openjdk.java.net/pipermail/hotspot-dev/2016-November/025404.html

            then:

            http://mail.openjdk.java.net/pipermail/hotspot-dev/2016-December/025406.html

            It is proposed for this RFE that we add an experimental VM option, such as -XX:+UseCGroupMemoryLimitForHeap, to opt-in to using the value in /sys/fs/cgroup/memory/memory.limit_in_bytes as the value for phys_mem as suggested in the submission.

            This will allow us to get quick feedback from the community and customers as to how things work, and allow us to shape the full RFE for JDK 10.
            We have an open RFE targeted to JDK 10 to get the JVM to play nicely with memory limits imposed by a Docker container (through the Linux cgroups facility): JDK-8146115

            There has been a non-Oracle submission to get some basic support for this into 9:

            http://mail.openjdk.java.net/pipermail/hotspot-dev/2016-November/025404.html

            then:

            http://mail.openjdk.java.net/pipermail/hotspot-dev/2016-December/025406.html

            It is proposed for this RFE that we add an experimental VM option, such as -XX:+UseCGroupMemoryLimitForHeap, to opt-in to using the value in /sys/fs/cgroup/memory/memory.limit_in_bytes as the value for phys_mem as suggested in the submission.

            This will allow us to get quick feedback from the community and customers as to how things work, and allow us to shape the full RFE for JDK 10.
            kvn Vladimir Kozlov made changes -
            Labels jdk9-fc-request jdk9-fc-request jdk9-fc-yes
            mlautman Mary Lautman made changes -
            Status New [ 10000 ] Open [ 1 ]
            dholmes David Holmes made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            Understanding Fix Understood [ 10001 ]
            hgupdate HG Updates made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolved In Build team [ 17324 ]
            Understanding Fix Understood [ 10001 ]
            robm Robert Mckenna made changes -
            Description We have an open RFE targeted to JDK 10 to get the JVM to play nicely with memory limits imposed by a Docker container (through the Linux cgroups facility): JDK-8146115

            There has been a non-Oracle submission to get some basic support for this into 9:

            http://mail.openjdk.java.net/pipermail/hotspot-dev/2016-November/025404.html

            then:

            http://mail.openjdk.java.net/pipermail/hotspot-dev/2016-December/025406.html

            It is proposed for this RFE that we add an experimental VM option, such as -XX:+UseCGroupMemoryLimitForHeap, to opt-in to using the value in /sys/fs/cgroup/memory/memory.limit_in_bytes as the value for phys_mem as suggested in the submission.

            This will allow us to get quick feedback from the community and customers as to how things work, and allow us to shape the full RFE for JDK 10.
            We have an open RFE targeted to JDK 10 to get the JVM to play nicely with memory limits imposed by a Docker container (through the Linux cgroups facility): JDK-8146115

            There has been a non-Oracle submission to get some basic support for this into 9:

            http://mail.openjdk.java.net/pipermail/hotspot-dev/2016-November/025404.html

            then:

            http://mail.openjdk.java.net/pipermail/hotspot-dev/2016-December/025406.html

            It is proposed for this RFE that we add an experimental VM option, such as -XX:+UseCGroupMemoryLimitForHeap, to opt-in to using the value in /sys/fs/cgroup/memory/memory.limit_in_bytes as the value for phys_mem as suggested in the submission.

            This will allow us to get quick feedback from the community and customers as to how things work, and allow us to shape the full RFE for JDK 10.

            Bug: https://bugs.openjdk.java.net/browse/JDK-8170888
            robm Robert Mckenna made changes -
            Description We have an open RFE targeted to JDK 10 to get the JVM to play nicely with memory limits imposed by a Docker container (through the Linux cgroups facility): JDK-8146115

            There has been a non-Oracle submission to get some basic support for this into 9:

            http://mail.openjdk.java.net/pipermail/hotspot-dev/2016-November/025404.html

            then:

            http://mail.openjdk.java.net/pipermail/hotspot-dev/2016-December/025406.html

            It is proposed for this RFE that we add an experimental VM option, such as -XX:+UseCGroupMemoryLimitForHeap, to opt-in to using the value in /sys/fs/cgroup/memory/memory.limit_in_bytes as the value for phys_mem as suggested in the submission.

            This will allow us to get quick feedback from the community and customers as to how things work, and allow us to shape the full RFE for JDK 10.

            Bug: https://bugs.openjdk.java.net/browse/JDK-8170888
            We have an open RFE targeted to JDK 10 to get the JVM to play nicely with memory limits imposed by a Docker container (through the Linux cgroups facility): JDK-8146115

            There has been a non-Oracle submission to get some basic support for this into 9:

            http://mail.openjdk.java.net/pipermail/hotspot-dev/2016-November/025404.html

            then:

            http://mail.openjdk.java.net/pipermail/hotspot-dev/2016-December/025406.html

            It is proposed for this RFE that we add an experimental VM option, such as -XX:+UseCGroupMemoryLimitForHeap, to opt-in to using the value in /sys/fs/cgroup/memory/memory.limit_in_bytes as the value for phys_mem as suggested in the submission.

            This will allow us to get quick feedback from the community and customers as to how things work, and allow us to shape the full RFE for JDK 10.
            hgupdate HG Updates made changes -
            Resolved In Build team [ 17324 ] master [ 18256 ]
            hgupdate HG Updates made changes -
            Resolved In Build master [ 18256 ] b150 [ 19701 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8172318 [ JDK-8172318 ]
            dholmes David Holmes made changes -
            Labels jdk9-fc-request jdk9-fc-yes jdk9-fc-request jdk9-fc-yes noreg-external
            ostuart Owen Stuart made changes -
            Labels jdk9-fc-request jdk9-fc-yes noreg-external 8bpr-critical-request jdk9-fc-request jdk9-fc-yes noreg-external
            ostuart Owen Stuart made changes -
            Labels 8bpr-critical-request jdk9-fc-request jdk9-fc-yes noreg-external jdk9-fc-request jdk9-fc-yes noreg-external
            dholmes David Holmes made changes -
            Labels jdk9-fc-request jdk9-fc-yes noreg-external CPU17_02-critical-request jdk9-fc-request jdk9-fc-yes noreg-external
            ostuart Owen Stuart made changes -
            Labels CPU17_02-critical-request jdk9-fc-request jdk9-fc-yes noreg-external 8bpr-critical-request CPU17_02-critical-request jdk9-fc-request jdk9-fc-yes noreg-external
            pmohan Praveen Mohan made changes -
            Labels 8bpr-critical-request CPU17_02-critical-request jdk9-fc-request jdk9-fc-yes noreg-external 8bpr-critical-request CPU17_02-critical-SQE-OK CPU17_02-critical-request jdk9-fc-request jdk9-fc-yes noreg-external
            ydagra Yashi Dagra made changes -
            Labels 8bpr-critical-request CPU17_02-critical-SQE-OK CPU17_02-critical-request jdk9-fc-request jdk9-fc-yes noreg-external 8bpr-critical-request CPU17_02-critical-SQE-OK CPU17_02-critical-approved jdk9-fc-request jdk9-fc-yes noreg-external
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8174023 [ JDK-8174023 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8174184 [ JDK-8174184 ]
            ostuart Owen Stuart made changes -
            Link This issue relates to JDK-8174910 [ JDK-8174910 ]
            ostuart Owen Stuart made changes -
            Labels 8bpr-critical-request CPU17_02-critical-SQE-OK CPU17_02-critical-approved jdk9-fc-request jdk9-fc-yes noreg-external 8bpr-critical-approved CPU17_02-critical-SQE-OK CPU17_02-critical-approved jdk9-fc-request jdk9-fc-yes noreg-external
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8175149 [ JDK-8175149 ]
            aefimov Aleksej Efimov made changes -
            Link This issue backported by JDK-8175898 [ JDK-8175898 ]
            rcalnan Roger Calnan made changes -
            Labels 8bpr-critical-approved CPU17_02-critical-SQE-OK CPU17_02-critical-approved jdk9-fc-request jdk9-fc-yes noreg-external 8bpr-critical-approved CPU17_02-critical-SQE-OK CPU17_02-critical-approved bugdb_25462524 jdk9-fc-request jdk9-fc-yes noreg-external
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8177170 [ JDK-8177170 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8178562 [ JDK-8178562 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8180973 [ JDK-8180973 ]
            klward Klara Ward made changes -
            Link This issue relates to JMC-5522 [ JMC-5522 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8183657 [ JDK-8183657 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8184491 [ JDK-8184491 ]

              People

              • Assignee:
                dholmes David Holmes
                Reporter:
                dholmes David Holmes
              • Votes:
                0 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: