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

Provide an example of CGROUPS usage to limit amount of RAM per mongod process

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • manual
    • None

    Description

      In configurations with microsharding it's possible for different mongod's to compete for memory, so cgroups should be used to limit the RAM consumption per mongod process (otherwise processes will affect each other in all the unpredictable ways).

      Since the cgroups configuration is a bit non-trivial and is available only to *nix admins with black belt and higher, I think our users will highly appreciate if we provide a short example of setting it up.

      Attachments

        Activity

          People

            Unassigned Unassigned
            alex.komyagin@mongodb.com Alexander Komyagin
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 29 weeks ago