RFR: 8356277: containers/docker/TestPids.java: Limit value 19128 is not accepted as unlimited

David Holmes dholmes at openjdk.org
Fri May 9 05:27:53 UTC 2025


On Tue, 6 May 2025 14:06:54 GMT, Jan Kratochvil <jkratochvil at openjdk.org> wrote:

> When running the testcase in a VM with 16GB RAM it fails as systemd limits DefaultTasksMax based on available RAM.
> 
> 
> test/hotspot/jtreg/containers/docker/TestPids.java
> TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Limit value 19128 is not accepted as unlimited, log line was [0.083s][trace][os,container] Maximum number of tasks is: 19128
> 
> 
> DefaultTasksMax=28776 for RAM 24576MB
> DefaultTasksMax=19128 for RAM 16384MB
> DefaultTasksMax=1088 for RAM 1024MB
> 
> The testcase expects DefaultTasksMax>=20000.

I need to run this through our testing ...

-------------

PR Comment: https://git.openjdk.org/jdk/pull/25067#issuecomment-2865160809


More information about the hotspot-runtime-dev mailing list