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

Mongod killed by linux OOM under long running test load

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.7.0
    • Component/s: Concurrency
    • Labels:
    • Linux

      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()).

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

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

              Created:
              Updated:
              Resolved: