Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2079

Utilizing full CPU cycle during mongoimport

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.4.10
    • Component/s: mongoimport
    • None
    • Environment:
      Red Hat Enterprise Linux Server release 7.2 (Maipo)
      number of cores - 4,
      HardDisk - SSD,
      Memory - 60

      Hi..

      We have 4-shards with 1-Primary 2-Secondaries(1-Secondary Hidden). When there is mongoimport, mongo works smooth with good response time. But when we start mongoimport Mongo starts utilizing full CPU,  consumes 100% cpu cycles resulting very long response time. As per our observations it happens with 1 collections. This collections is used by 5 APIs. Please suggest how i can avoid this. Due to this my API giving me time-out error

      Thanks in advance

        1. CPULOAD.jpg
          CPULOAD.jpg
          512 kB
        2. CPULOAD11-07-2018.jpg
          CPULOAD11-07-2018.jpg
          134 kB
        3. mongostats
          4 kB
        4. shStatus.textile
          7 kB

            Assignee:
            nick.brewer Nick Brewer
            Reporter:
            mahantesh.dhale Mahantesh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: