I’ve the identical downside. Here’s what I did.
Context:
- launchctl restrict maxfiles –> maxfiles 256 limitless
256 is by far not sufficient for my utility
Actions:
- extra /Library/LaunchDaemons/restrict.maxfiles.plist
to look at the /Library/LaunchDaemons/restrict.maxfiles.plist file, there the boundaries had been 20000 20000
- reboot with +R (restoration mode)
- launchctl load -w /Library/LaunchDaemons/restrict.maxfiles.plist
to switch completely the two limits
At that time, my downside was solved. However
- I didn’t re-enable crsutil (I will strive after I’ll have made up for the time misplaced on this Apple bug, however as I’m the only real consumer of this machine and that kind of modification can solely be completed in restoration mode, I really feel fairly protected to remain this manner…)
- there’s a curious discrepancy:
ulimit -> limitless
ulimit -Sn 20000
ulimit -Hn 20000
I hope this will help.