How do you change the system limits for MacOS Mojave? I need to increase the open-file limit.


There's a nice guide on that here

Basically you have to disable SIP (System Integrity Protection) and then edit

sudo vim /Library/LaunchDaemons/limit.maxfiles.plist

with the following payload

<?xml version="1.0" encoding="UTF-8"?> 
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" 
<plist version="1.0"> 

Please note the two numbers there and adjust to your needs

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.