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

Production Checklist pid_max recommendation not consistent with Unix ulimits recommendations

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • manual
    • None

    Description

      On the ulimits page we recommend setting nproc to 64000.

      But in the Production Checklist for Linux, we recommend setting kernel.pid_max to only 32768.

      This is inconsistent with the ulimits recommendations (which have been generally accepted as good baseline values, to the point that 64000 is used in the default mongod init scripts these days), because setting nproc to 64000 is useless if the system can only have less than 64000 concurrently running pids.

      Therefore, the Production Checklist should be updated to recommend a kernel.pid_max value of 64000.

      Attachments

        Activity

          People

            allison.moore@mongodb.com Allison Reinheimer Moore
            kevin.pulo@mongodb.com Kevin Pulo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 42 weeks, 2 days ago