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

WiredTiger: lsm-worker: LSM metadata write: Cannot allocate memory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.8.0-rc0
    • Fix Version/s: 3.1.4
    • Component/s: Storage, WiredTiger
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      Start server

      mongod --storageEngine wiredtiger --wiredTigerCollectionConfig "type=lsm" --wiredTigerIndexConfig "type=lsm" --logpath mongod-wt-lsm-2.log

      Create an index

      db.tstest.ensureIndex( { device_id : 1, ts : 1 } )

      git clone https://github.com/henrikingo/mongo-timeseries-benchmark.git
      cd mongo-timeseries-benchmark
      python timeSeriesTest.py

      After 2k to 5k iterations, mongod will assert with the shown error.

      If it matters, I was running this in AWS on a cc2.8xlarge instance with the mongodb database on a single local/ephemeral disk.

      Show
      Start server mongod --storageEngine wiredtiger --wiredTigerCollectionConfig "type=lsm" --wiredTigerIndexConfig "type=lsm" --logpath mongod-wt-lsm-2.log Create an index db.tstest.ensureIndex( { device_id : 1, ts : 1 } ) git clone https://github.com/henrikingo/mongo-timeseries-benchmark.git cd mongo-timeseries-benchmark python timeSeriesTest.py After 2k to 5k iterations, mongod will assert with the shown error. If it matters, I was running this in AWS on a cc2.8xlarge instance with the mongodb database on a single local/ephemeral disk.

      Description

      I'm starting mongodb in WiredTiger type=lsm mode (both indexes and collections). After inserting between 200M to 500M rows, mongod crashes with " lsm-worker: LSM metadata write: Cannot allocate memory".

      The test was run in a very IO constrained HW setup.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: