Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-22000

MongoDB version 3.2; WiredTiger is killed by OOM killer

    • ALL

      I just upgraded Mongo 3.0.8 to 3.2 and changed storage engine to WiredTiger. Now primary of my replica set crashes almost everyday.

      There's no error in mongo log. Tailing the dmesg shows this -

      [1328492.617946] [30005]   500 30005    30032     2611      41       3        0             0 mongo
      [1328492.622599] Out of memory: Kill process 22659 (mongod) score 970 or sacrifice child
      [1328492.626892] Killed process 22659 (mongod) total-vm:32870580kB, anon-rss:30431520kB, file-rss:0kB
      

      The nproc, ulimit, etc. values are set. The instance has 30 GBs of RAM and same instance used to run mongo with MMapv1 without any issues.

        1. cursors.png
          cursors.png
          294 kB
        2. cursors2.png
          cursors2.png
          105 kB
        3. memory.png
          memory.png
          145 kB
        4. mms_stats.png
          mms_stats.png
          684 kB

            Assignee:
            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            Reporter:
            amanpreet@codigami.com Amanpreet Singh
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: