add epoch_schedule sysvar (#6256)

* add epoch_schedule sysvar

* book sheesh!
This commit is contained in:
Rob Walker
2019-10-08 22:34:26 -07:00
committed by GitHub
parent f2ee01ace3
commit 7cf90766a3
46 changed files with 572 additions and 427 deletions

View File

@ -6,11 +6,10 @@
maxOpenFds=65000
if [[ $(ulimit -n) -lt $maxOpenFds ]]; then
ulimit -n $maxOpenFds || {
ulimit -n $maxOpenFds 2>/dev/null || {
echo "Error: nofiles too small: $(ulimit -n). Failed to run \"ulimit -n $maxOpenFds\"";
if [[ $(uname) = Darwin ]]; then
echo "Try running |sudo launchctl limit maxfiles 65536 200000| first"
fi
}
fi