ref: ff54b6bddcefab45339d8dc2b13776b92bdc04b9
parent: 629e1439e819a7118ae483381d4634f16d3474dd
author: Bjørn Erik Pedersen <[email protected]>
date: Mon Jun 12 16:43:19 EDT 2017
commands: Adjust rlimit to 64000 See #3582
--- a/commands/limit_darwin.go
+++ b/commands/limit_darwin.go
@@ -75,8 +75,8 @@
jww.ERROR.Println("Unable to obtain rLimit", err)
}
if rLimit.Cur < rLimit.Max {
- rLimit.Max = 10000
- rLimit.Cur = 10000
+ rLimit.Max = 64000
+ rLimit.Cur = 64000
err = syscall.Setrlimit(syscall.RLIMIT_NOFILE, &rLimit)
if err != nil {
jww.WARN.Println("Unable to increase number of open files limit", err)