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

Every 4 hours CPU usage is going high varying from 100% to 200% because of mongo SECONDARY / replica node reciding on server

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Done
    • Affects Version/s: 4.0.5
    • Fix Version/s: None
    • Labels:
      None
    • Operating System:
      ALL

      Description

       
      cat /var/log/mongodb/mongod.log | grep "Successfully connected to mongo1.production.internal:27017" | sort | uniq

      2020-10-16T00:06:57.310+0000 I NETWORK [LogicalSessionCacheRefresh] Successfully connected to mongo1.production.internal:27017 (527 connections now open to mongo1.production.internal:27017 with a 0 second timeout)
      2020-10-16T04:06:57.422+0000 I NETWORK [LogicalSessionCacheRefresh] Successfully connected to mongo1.production.internal:27017 (528 connections now open to mongo1.production.internal:27017 with a 0 second timeout)
      2020-10-16T08:06:56.913+0000 I NETWORK [LogicalSessionCacheRefresh] Successfully connected to mongo1.production.internal:27017 (529 connections now open to mongo1.production.internal:27017 with a 0 second timeout)

       
      mongod --version

      db version v4.0.5
      git version: 3739429dd92b92d1b0ab120911a23d50bf03c412
      OpenSSL version: OpenSSL 1.0.2n 7 Dec 2017
      allocator: tcmalloc
      modules: none
      build environment:
      distmod: ubuntu1404
      distarch: x86_64
      target_arch: x86_64

      mongo --version

      git version: 3739429dd92b92d1b0ab120911a23d50bf03c412
      OpenSSL version: OpenSSL 1.0.2n 7 Dec 2017
      allocator: tcmalloc
      modules: none
      build environment:
      distmod: ubuntu1404
      distarch: x86_64
      target_arch: x86_64

       

       

        Attachments

        1. mongod-2020-10-19.log
          99.77 MB
        2. mongod-2020-10-20.log
          42.06 MB
        3. mongo-open-connections.out
          117 kB
        4. Screen Shot 2020-10-23 at 11.55.14 AM.png
          Screen Shot 2020-10-23 at 11.55.14 AM.png
          343 kB

          Activity

            People

            Assignee:
            edwin.zhou Edwin Zhou
            Reporter:
            pmakhija@ask-fast.com Prakhar Makhija
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: