Changing ULimit Values on Mac OSX Yosemite
-
Anyone able to change the ulimit values on Mac OSX Yosemite? None of the traditional means of doing so seem to work, not even the recent Mac specific ones. Here is what I have...
ulimit -n 256
I need to increase that to, say, 2048.
-
Okay, looks like there are two values to change. First the launchd limit needs to be raised. You can do that like this...
sudo launchctl limit maxfiles 2048 unlimited
To see if that worked just run...
launchctl limit
-
That won't change your running shell. But now you can use the traditional ulimit command to alter the running shell....
ulimit -n 2048
Voila, that worked.
ulimit -n 2048