There was an error while loading. Please reload this page.
1 parent 26aa06a commit 629e143Copy full SHA for 629e143
commands/limit_darwin.go
@@ -75,11 +75,11 @@ func tweakLimit() {
75
jww.ERROR.Println("Unable to obtain rLimit", err)
76
}
77
if rLimit.Cur < rLimit.Max {
78
- rLimit.Max = 999999
79
- rLimit.Cur = 999999
+ rLimit.Max = 10000
+ rLimit.Cur = 10000
80
err = syscall.Setrlimit(syscall.RLIMIT_NOFILE, &rLimit)
81
if err != nil {
82
- jww.ERROR.Println("Unable to increase number of open files limit", err)
+ jww.WARN.Println("Unable to increase number of open files limit", err)
83
84
85
0 commit comments