Aug. 3, 2023
6:05 a.m.
OPEN_MAX is 10240, which is usually lower than the kern.maxfilesperproc sysctl value. Said value from sysctl works on Mojave to Monterey (and most likely earlier Mac OS versions, but I can't test). Since Big Sur we can successfully set the reported rlim_max value. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3503