You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.RuntimeException: failed to create io_uring ring fd Cannot allocate memory
at io.netty.incubator.channel.uring.Native.ioUringSetup(Native Method)
at io.netty.incubator.channel.uring.Native.createRingBuffer(Native.java:169)
at io.netty.incubator.channel.uring.Native.createRingBuffer(Native.java:202)
at io.netty.incubator.channel.uring.IOUring.<clinit>(IOUring.java:41)
In the workflow, I print the ulimit value:
$ ulimit -l
64
Is there any way to change the ulimit memlock value? Is there a workaround?
Description
OS: Linux (ubuntu-latest)
I have a GitHub Actions workflow that tries to utilize io_uring from Java
https://github.com/sullis/netty-playground/runs/4450624231?check_suite_focus=true
The error message is:
In the workflow, I print the ulimit value:
Is there any way to change the ulimit memlock value? Is there a workaround?
Virtual environments affected
Image version and build link
https://github.com/sullis/netty-playground/runs/4450624231?check_suite_focus=true
Is it regression?
No response
Expected behavior
No response
Actual behavior
No response
Repro steps
Java code:
https://github.com/sullis/netty-playground/blob/main/src/test/java/io/github/sullis/netty/playground/IoUringTest.java
Workflow:
https://github.com/sullis/netty-playground/blob/main/.github/workflows/ci.yml
Run:
https://github.com/sullis/netty-playground/runs/4450624231?check_suite_focus=true
The text was updated successfully, but these errors were encountered: