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

Mongos memory usage is too large(>7G)

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Incomplete
    • Icon: Major - P3 Major - P3
    • None
    • 3.4.16
    • None
    • None

    Description

      Test mongodb cluster performance with ycsb:

      mongodb version: 3.4.0 or 3.4.16;

      mongodb sharded cluster : 3 shardSver;

      ycsb version:  0.12.0;

      system : centos7;  memory: 48G; CPU: 24 core;

      Operation sequence: 

        1. start sharded cluster;

        2. sh.enableSharding('ycsb');

        3. sh.shardCollection('ycsb.usertable',{_id:"hashed"});

        4. ycsb load data ( recordcount=20000,  operationcount=20000, threads=64);

        5. ycsb run scan (recordcount=20000, operationcount=20000, **scanproportion=1, threads=64),

      At this time, it will occupy 7G of memory and will not be released for a long time.

       6. drop collection(ycsb.usertable),   and drop database(ycsb)

         Memory usage still has not decreased;

      Attachments

        Activity

          People

            kelsey.schubert@mongodb.com Kelsey Schubert
            lkx lkx
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: