On Tue, 15 Sep 2026 10:35:28 GMT, Ivan Bereziuk <[email protected]> wrote:
> For newer `runc`, `--pids-limit=0` ends up capping the number of threads to > 1 instead of "Unlimited". > > This PR reverts the > [JDK-8274506](https://bugs.openjdk.org/browse/JDK-8274506) workaround for the > issue we had with Podman 3.3.1. > > [0] - https://github.com/opencontainers/runc/pull/4949 > [1] - https://docs.podman.io/en/v4.4/markdown/options/pids-limit.html > [2] - https://github.com/podman-container-tools/podman/pull/11794 > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). Could we keep a `UNLIMITED_PIDS = -1` constant? It reads a bit better: opts.addDockerOpts("--pids-limit=" + UNLIMITED_PIDS); ------------- PR Review: https://git.openjdk.org/jdk/pull/32877#pullrequestreview-5211365428
