From e2eb294c2e8bb4c4cf674b8070f02655712ef5f7 Mon Sep 17 00:00:00 2001 From: "zongmin.gu" Date: Wed, 8 Dec 2021 15:18:58 +0800 Subject: [PATCH] Fix the bash demo by increasing the stack size --- demos/bash/run_bash_demo.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/demos/bash/run_bash_demo.sh b/demos/bash/run_bash_demo.sh index a42c6373..613e080c 100755 --- a/demos/bash/run_bash_demo.sh +++ b/demos/bash/run_bash_demo.sh @@ -16,7 +16,8 @@ pushd occlum_instance rm -rf image copy_bom -f $bomfile --root image --include-dir /opt/occlum/etc/template -new_json="$(jq '.resource_limits.user_space_size = "600MB" ' Occlum.json)" && \ +new_json="$(jq '.resource_limits.user_space_size = "600MB" | + .resource_limits.kernel_space_stack_size ="2MB" ' Occlum.json)" && \ echo "${new_json}" > Occlum.json occlum build