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

Utilizing full CPU cycle during mongoimport

    XMLWordPrintable

    Details

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

      Description

      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

        Attachments

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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: