I'm learning MongoDB and when I start the mongo shell a wild warning message appeared. It says:
How do i change the "soft rlimits". I'm using Mac OSX 10.8.2
Tnx in advance
What you are searching for is launchctl limit maxfiles
.
To change it you need to run command launchctl limit maxfiles 1024 2048
for example.
To permanently change those values you need to create /etc/launchctl.conf and set there values you need (see here for details) or add command mentioned above to your ~/.bash_profile.
Or you can create script which will set limit and then launch mongo