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

Add a note about /etc/systemd/system/mongodprod.service.d/limits.conf for systemd

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • Server_Docs_20231030
    • None
    • manual, Server
    • None
    • Distros using Systemd

    Description

      We should also mention that with systemd you can update /etc/systemd/system/mongodprod.service.d/limits.conf on the following note on the https://docs.mongodb.org/manual/reference/ulimit/#unix-ulimit-settings page:

      NOTE
      Red Hat Enterprise Linux and CentOS 6 place a max process limitation of 1024 which overrides ulimit settings. Create a file named /etc/security/limits.d/99-mongodb-nproc.conf with new soft nproc and hard nproc values to increase the process limit. See /etc/security/limits.d/90-nproc.conf file as an example.

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            jim.oleary@mongodb.com James O'Leary
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 14 weeks, 1 day ago