solana/ci/setup-new-buildkite-agent/setup-limits.sh

13 lines
267 B
Bash
Raw Normal View History

#!/usr/bin/env bash
HERE="$(dirname "$0")"
# shellcheck source=ci/setup-new-buildkite-agent/utils.sh
source "$HERE"/utils.sh
ensure_env || exit 1
# Allow more files to be opened by a user
2021-08-03 23:17:12 -07:00
echo "* - nofile 1000000" > /etc/security/limits.d/90-solana-nofiles.conf