Skip to content

Commit ff54b6b

Browse files
committed
commands: Adjust rlimit to 64000
See #3582
1 parent 629e143 commit ff54b6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎commands/limit_darwin.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ func tweakLimit() {
7575
jww.ERROR.Println("Unable to obtain rLimit", err)
7676
}
7777
if rLimit.Cur < rLimit.Max {
78-
rLimit.Max = 10000
79-
rLimit.Cur = 10000
78+
rLimit.Max = 64000
79+
rLimit.Cur = 64000
8080
err = syscall.Setrlimit(syscall.RLIMIT_NOFILE, &rLimit)
8181
if err != nil {
8282
jww.WARN.Println("Unable to increase number of open files limit", err)

0 commit comments

Comments
 (0)