[PATCH] Reduce MAX_OPEN_FILES to 128 on macOS

Comments, questions, bug reports, etc.
Post Reply
schroeterm
Posts: 1
Joined: Mon Jul 11, 2022 12:09 pm

[PATCH] Reduce MAX_OPEN_FILES to 128 on macOS

Post by schroeterm »

Hello,

This patch reduces the MAX_OPEN_FILES value from 512 to 128 on macOS where the default max open files limit (ulimit -n) is 256. Without this patch, the error 47 is thrown because no more regular files can be created.

Regards,
Mathieu
Attachments
commit-9cf9304.patch
Reduce MAX_OPEN_FILES to 128 on macOS where the default limit is 256
(898 Bytes) Downloaded 166 times
synchronicity
Site Admin
Posts: 472
Joined: Sun Aug 02, 2015 10:31 pm

Re: [PATCH] Reduce MAX_OPEN_FILES to 128 on macOS

Post by synchronicity »

Applied, thanks.
Post Reply