Skip to content

Commit

Permalink
Make ulimit non-fatal to keep the ci-cuda machine happy
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines committed Dec 18, 2018
1 parent 497ee02 commit bec67dd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/ulimit-n.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit bec67dd

Please sign in to comment.