increase open file limit linux mac catalina code example Example: set open file limit mac catalina mysql sudo launchctl limit maxfiles 65536 200000