From db8f2d9f07e779711067b1467e7d26d191ce15c3 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Tue, 18 Dec 2018 13:46:37 -0800 Subject: [PATCH] Make ulimit non-fatal to keep the ci-cuda machine happy --- scripts/ulimit-n.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/ulimit-n.sh b/scripts/ulimit-n.sh index 3e7275cef..1252eb454 100755 --- a/scripts/ulimit-n.sh +++ b/scripts/ulimit-n.sh @@ -10,8 +10,7 @@ fi if [[ $(ulimit -n) -lt $maxOpenFds ]]; then ulimit -n $maxOpenFds || { - echo "Error: nofiles too small: $(ulimit -n). Run \"ulimit -n $maxOpenFds\" to continue"; - exit 1 + echo "Error: nofiles too small: $(ulimit -n). Failed to run \"ulimit -n $maxOpenFds\""; } fi