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

Add information on OOM Killer to Linux production notes

    XMLWordPrintableJSON

Details

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

    Description

      The Linux OOM killer can kill mongod/mongos in certain circumstances such as:

      • when having no (or too little) swap
      • having overcommit memory to 2 and a non optimal overcommit ratio.

      The production notes currently only have a small mention of this under "swap" which doesn't provide any guidance on appropriate swap or sysctl settings to play well with the OOM Killer:

      Assign swap space for your systems. Allocating swap space can avoid issues with memory contention and can prevent the OOM Killer on Linux systems from killing mongod.

      Attachments

        Activity

          People

            Unassigned Unassigned
            stephen.steneker@mongodb.com Stennie Steneker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

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