Increase the number of files a node may have open at a time

This commit is contained in:
Michael Vines
2018-12-15 08:42:56 -08:00
parent e5d1bd6589
commit 74ee1e5087
6 changed files with 25 additions and 17 deletions

View File

@ -95,10 +95,13 @@ export RUST_BACKTRACE=1
# shellcheck source=scripts/configure-metrics.sh
source "$(dirname "${BASH_SOURCE[0]}")"/../scripts/configure-metrics.sh
tune_networking() {
tune_system() {
# Skip in CI
[[ -z $CI ]] || return 0
# shellcheck source=scripts/ulimit-n.sh
source "$(dirname "${BASH_SOURCE[0]}")"/../scripts/ulimit-n.sh
# Reference: https://medium.com/@CameronSparr/increase-os-udp-buffers-to-improve-performance-51d167bb1360
if [[ $(uname) = Linux ]]; then
(