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

MongoDB consumes up-to 90% of the memory in allotted for the replicas

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      Hello,

       

      I have configured mongodb with 3 replicas with 10G of memory each replica.

      The current wiredtiger cache is with the default which comes around 4G

      Found the primary pod consumes up to 98% of the memory during multiple connections and read requests . But it never releases the memory.

       

      Is there a way we can free the memory with some tuning.

      [root@cp0766node02 cloud-user]# kubectl top pod -n test | grep cmgo
      e-cmgo-replica-0 92m 9433Mi
      e-cmgo-replica-1 89m 6065Mi
      e-cmgo-replica-2 96m 6482Mi

       

      Pod configuration

      Limits:
      cpu: 5
      memory: 10Gi
      Requests:
      cpu: 1
      memory: 2Gi

       

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            ece.sagar@gmail.com S P
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: