Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-25985

rlimit check for nProcesses > 0.5 nFiles fails for non-trivial, valid WiredTiger configurations

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: WiredTiger
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2019-08-26

      We're commonly running into this warning in environments we feel are properly configured. It's a warning, not an error, but it's still creating friction through confusion among the user base, so it would be nice to address.

      WARNING: soft rlimits too low. rlimits set to XXX processes, YYY files. Number of processes should be at least YYY/2 : 0.5 times number of files.
      

      The issue is that WiredTiger now uses a file descriptor per namespace, meaning the number of file descriptors required can quickly outstrip the number of connections used in heavily multi-tenanted environments (commonly development and test) where connection requirements are modest but namespaces abound.

      You can see a more detailed discussion from the mongodb-user group:

      https://groups.google.com/d/topic/mongodb-user/aUrWTZxUUi4/discussion

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            jared Jared D. Cottrell
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: