zisk: add memlock unlimited (#145)

Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
This commit is contained in:
Ignacio Hagopian
2025-09-23 11:22:15 -03:00
committed by GitHub
parent f62ce623f2
commit 1ab83ad3c7

View File

@@ -420,6 +420,7 @@ impl zkVM for EreDockerizedzkVM {
// requires at least 8G shared memory, here we set 16G for safety.
ErezkVM::Zisk => cmd
.option("shm-size", "16G")
.option("ulimit", "memlock=-1:-1")
.inherit_env("ZISK_PREALLOCATE")
.inherit_env("ZISK_UNLOCK_MAPPED_MEMORY")
.inherit_env("ZISK_MINIMAL_MEMORY")