From a3685a22bca6b0c5f69c131b18d91be71b479cf7 Mon Sep 17 00:00:00 2001 From: Steve Brasier Date: Wed, 5 Jul 2023 15:39:10 +0000 Subject: [PATCH] use schedmd slurmd unitfile limits --- docker-entrypoint.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index ac585fe..3f596ef 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -53,8 +53,10 @@ fi if [ "$1" = "slurmd" ] then - echo "---> Setting memlock unlimited ..." - ulimit -Hl unlimited + echo "---> Set shell resource limits ..." + ulimit -l unlimited + ulimit -s unlimited + ulimit -n 131072 echo "---> Starting the MUNGE Authentication service (munged) ..." gosu munge /usr/sbin/munged