Hello,
I am runnig Mac OS X Yosemite 10.10.1 and I red that it is recommended to increase the number of files you can open (with ‘unlimit -n’).
I am fairly new to this kind of issue, and wonder what this means (increase the number of files you can open)
And how exactly do I ‘unlimit -n’ ?
I have ran the other sudo commands recommended, but do I run ‘unlimit -n’ ? Just type it in the terminal?
Cheers,
Magnus
OS Tuning
Depending on your OS, you might have to tweak a few options so that you can massively open new sockets and reach heavy load.
For example, on X platforms, you imperatively have to increase the number of files you can open with ulimit -n.
Under Mac OS/X Lion you need to run the following commands in order to “unbuckle the belts”:
My understanding is that on a Unix based system a file is opened
before a TCP/IP connection is made (everything is file). The number of
concurrent open files has a default limit which can be increased.