[SERVER-56995] MongoDB consumes up-to 90% of the memory in allotted for the replicas Created: 17/May/21  Updated: 18/May/21  Resolved: 18/May/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: S P Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-56996 mogodb consumes up to 98% of the avai... Closed
is duplicated by SERVER-56996 mogodb consumes up to 98% of the avai... Closed
Operating System: ALL
Participants:

 Description   

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

 

 



 Comments   
Comment by Dmitry Agranat [ 18/May/21 ]

Hi ece.sagar@gmail.com, I will go ahead and close this ticket as a duplicate of SERVER-56996

Generated at Thu Feb 08 05:40:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.