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

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

    • Fully Compatible
    • Service Arch 2021-06-14, Service Arch 2021-06-28, Service Arch 2021-09-20, Service Arch 2021-10-04
    • 2

      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 

            Assignee:
            vojislav.stojkovic@mongodb.com Vojislav Stojkovic
            Reporter:
            eric.sommer@mongodb.com Eric Sommer
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: