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

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

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • Affects Version/s: None
    • Component/s: manual
    • Labels:
      None

      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.

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

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