Details
-
Enhancement
-
Resolution: Fixed
-
P3
-
17
-
b10
-
generic
-
linux
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8279567 | 17.0.3-oracle | Harold Seigel | P3 | Resolved | Fixed | b01 |
JDK-8279677 | 17.0.3 | Matthias Baesken | P3 | Resolved | Fixed | b01 |
JDK-8294999 | 11.0.18-oracle | Calvin Cheung | P3 | Resolved | Fixed | b03 |
JDK-8288307 | 11.0.17 | Matthias Baesken | P3 | Resolved | Fixed | b01 |
JDK-8302221 | 8u381 | Ivan Bereziuk | P3 | Resolved | Fixed | b01 |
Description
detection code. It is using os::Linux::print_container_info() which in turn uses OSContainer Linux-
only API.
Extend the OSContainer API in order to also support the pids controller of cgroups.
There is a --pids-limit flag to docker/podman which seems to use the same cgroups interface files.
systemd seems to use the same functionality to limit the number of tasks a user can start.
More info
https://www.freedesktop.org/software/systemd/man/systemd.resource-control.html
https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v1/pids.html
https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html#pid
Attachments
Issue Links
- backported by
-
JDK-8279567 Extend the OSContainer API to support the pids controller of cgroups
- Resolved
-
JDK-8279677 Extend the OSContainer API to support the pids controller of cgroups
- Resolved
-
JDK-8288307 Extend the OSContainer API to support the pids controller of cgroups
- Resolved
-
JDK-8294999 Extend the OSContainer API to support the pids controller of cgroups
- Resolved
-
JDK-8302221 Extend the OSContainer API to support the pids controller of cgroups
- Resolved
- relates to
-
JDK-8274506 TestPids.java and TestPidsLimit.java fail with podman run as root
- Resolved
-
JDK-8273526 Extend the OSContainer API pids controller with pids.current
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/372af6a8
-
Commit openjdk/jdk17u-dev/3de6b2cb
-
Commit openjdk/jdk/089e83bf
-
Review openjdk/jdk11u-dev/1089
-
Review openjdk/jdk17u-dev/66
-
Review openjdk/jdk/4518