Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-2371

MongoDB and OS resources

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • manual
    • None
    • UNIX

    Description

      Although we do not recommend running multiple active mongod/mongos instances within a single OS, a lot of people are still doing it.

      On of the caveats is that this way you can run into OS resource limitations, that will affect mongod's in all the unpredictable ways.

      We already documented ulimits, and we need to document kernel limits as well, and I suggest to mention it in Production Notes:

      • /proc/sys/kernel/pid_max # the value at which PIDs wrap around
      • /proc/sys/kernel/thread_max # limit on the total number of processes on the system
      • /proc/sys/fs/file-max # Maximum number of open files
      • /proc/sys/fs/file-nr # Will show the number of allocated, unused and max file descriptors. Helpful to estimate the risk of running into file-max limit.

      Attachments

        Activity

          People

            Unassigned Unassigned
            alex.komyagin@mongodb.com Alexander Komyagin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 29 weeks ago