From ff54b6bddcefab45339d8dc2b13776b92bdc04b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Mon, 12 Jun 2017 20:43:19 +0200 Subject: [PATCH] commands: Adjust rlimit to 64000 See #3582 --- commands/limit_darwin.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/limit_darwin.go b/commands/limit_darwin.go index 1635c8471..9246f4497 100644 --- a/commands/limit_darwin.go +++ b/commands/limit_darwin.go @@ -75,8 +75,8 @@ func tweakLimit() { 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)