Cpu 100% when mongodb running with normal ops

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.0.4
    • Component/s: Performance, WiredTiger
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hi Team ,

      There is a mongodb session will cost cpu 100% when there is only normal ops on the instance , issue can be solved by restart the database , but it will appear after a few weeks .
      It is always the same pid in linux costs 100% cpu , attached some screen shot while running top command .

      As well I see the information : "thread over memory limit, cleaning up" very often in the db log , there is an issue with my database ?

      Config file option:

      processManagement :
       fork : true
       pidFilePath :  /home/Radius/Rad.pid
      systemLog:
       destination : file
       path : /home/Radius/Log/Rad_Log
       logAppend : true
      
      storage:
       dbPath : /home/Radius/Data_WiredTiger
       engine : wiredTiger
       wiredTiger :
        engineConfig :
         cacheSizeGB : 20
       directoryPerDB : true
      
      net:
       port : 40001
       maxIncomingConnections : 2000
      
      security:
       authorization  : enabled
       keyFile : /home/Radius/Keys/RadKey
      
      replication:
       replSetName : rad
      
      auditLog:
       destination : file
       format : JSON
       path : /home/Radius/Log/RadiusDBAduit.json
       filter : '{ atype : {$nin : ["authenticate"]} }'
      

        1. 2015-07-27.rar
          1.16 MB
        2. cpu_usage.png
          cpu_usage.png
          280 kB
        3. cpu.png
          cpu.png
          202 kB
        4. CPU Screenshot.jpg
          CPU Screenshot.jpg
          143 kB
        5. DB.rar
          1.43 MB
        6. DBlog0728.rar
          1.69 MB
        7. Detail_Cpu_screenshot.jpg
          Detail_Cpu_screenshot.jpg
          186 kB
        8. Detail_Cpu_ScreenShot2.jpg
          Detail_Cpu_ScreenShot2.jpg
          221 kB
        9. llorenzen_serverStatus.json
          15 kB
        10. logs.rar
          1.32 MB
        11. OpsManager_Screenshot.jpg
          OpsManager_Screenshot.jpg
          17 kB
        12. perf top sc.jpg
          perf top sc.jpg
          203 kB
        13. serverstatus.txt
          27 kB
        14. serverStatus.txt
          13 kB

            Assignee:
            Ramon Fernandez Marina
            Reporter:
            carl dong
            Votes:
            4 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: