source ulimit-n.sh so it applies to the current shell

This commit is contained in:
Michael Vines
2019-02-02 10:42:08 -08:00
parent a7e5423ede
commit 4aa6695a13
4 changed files with 4 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ export LD_LIBRARY_PATH=$PWD/target/perf-libs:$LD_LIBRARY_PATH
export RUST_LOG=multinode=info
scripts/ulimit-n.sh
source scripts/ulimit-n.sh
if [[ $(sysctl -n net.core.rmem_default) -lt 1610612736 ]]; then
echo 'Error: rmem_default too small, run "sudo sysctl -w net.core.rmem_default=1610612736" to continue'