If you get this warning when you connect to mongo shell in Mac OS X:
** WARNING: soft rlimits too low. Number of files is 256, should be at least 1000