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

Warn on startup if vm.max_map_count < 2 * max connections

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Service Arch 2021-06-14, Service Arch 2021-06-28, Service Arch 2021-09-20, Service Arch 2021-10-04
    • Case:
    • Story Points:
      2

      Description

      In our production notes we recommend setting:

      vm.max_map_count value of 128000
      

      This corresponds to our default max connections of 64k, as each connection requires 2 maps.

      Upon startup, the mongod should check this value (/proc/sys/vm/max_map_count) and warn if it doesn't equal 2*max connections.

       

      Acceptance Criteria: We warn users that vm.max_map_count doesn't exceed 2x max connections 

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vojislav.stojkovic Vojislav Stojkovic
              Reporter:
              eric.sommer Eric Sommer
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: