Restarting MongoDB
Finally, restart our MongoDB instance to ensure it runs with the updated file descriptor limits. You can use the following command if we are running MongoDB as a service:
brew services restart mongodb-community
If we arestarting MongoDB manually, simply stop and restart the process:
mongod --config /usr/local/etc/mongod.conf
Fix MongoDB “Soft Rlimits” Warning On Mac OS
MongoDB users on macOS computers might face a “soft Rlimits warning” during startup which refers to the system limit is not correctly set. This irregular warning may be a tripping block to the proper operation of MongoDB and also its stability in particular under the huge data processing.
In this article, We will learn about How to Fix MongoDB “soft rlimits” Warning On MacOS by providing a step-by-step guide.