Set limits for mongod and mongos processes as recommended in the mongo docs http://docs.mongodb.org/manual/reference/ulimit/#recommended-settings