Setting ulimit to 2048 to help prevent the too many open files issue in OSX.