Matthew Toseland <toad at ...> writes: > > Umm, you can raise the descriptor limit as a regular user on OS/X?! > Please check what value it was before and after... >
Ohh, to clarify, you are correct in that you can't change the HARD limit on file descriptors, but that isn't a problem because the hard limit is set to unlimited. The hard limit is only limited by the system limit for all processes, which is over 12000. The soft limit is the only one that needs to be upped, since it is what is capping us at 256. So, trying to do: ulimit -n 1024 might fail because it is trying to change both the soft and hard limits, whereas: ulimit -S -n 1024 Is just changing the soft limit (the hard limit is unlimited...)