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

Mongod killed by linux OOM under long running test load

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 2.7.0
    • Fix Version/s: None
    • Component/s: Concurrency
    • Labels:
    • Operating System:
      Linux

      Description

      This is probably due to a leak. Mongod runs out of memory and get kicked out from the OS. Memory (as reported by top(1)) looks growing linearly with time.
      Scenario:
      https://github.com/dcci/mongo-stress/blob/master/createdb.sh
      It takes about 2 hours in my machine to reproduce.
      You'll need the mongo C driver and libbsd (the code relies on arc4random()).

        Attachments

        1. server13743.png
          server13743.png
          64 kB
        2. memory_leak_before.txt
          27 kB
        3. memory_leak_latest.txt
          22 kB
        4. MongoManyDBsStressTest.java
          2 kB

          Issue Links

            Activity

              People

              Assignee:
              kaloian.manassiev Kaloian Manassiev
              Reporter:
              davide.italiano Davide Italiano
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: