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

Mongo memory usage is increasing gradually

    • Type: Icon: Question Question
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.2.4
    • Component/s: WiredTiger
    • None
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      We are using Mongo DB 3.2.4 replica set with Wired Tiger Storage engine. The replicaset consists of 1 primary 1 secondary and 1 arbiter. Primary and Secondary memory size is 62 gb. The data size is 8 GB.

      Issue Description : Mongo memory usage initially was 45% and gradually increased over the period to 50 and now to 58% in both primary and secondary server. Given below the mongo stat, mongo top. Attached the diagnostic data files with this ticket.

      Top:
        PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
        4591 root      20   0 39.1g  35g  10m S 776.1 59.5 147307:07 mongod
      
      mongo stat:
        dirty % used flushes vsize   res qr|qw ar|aw netIn netOut conn set repl 
      1.2   80.0       0 36.8G 35.3G   0|0   0|0    1k    29k  178 rs0  SEC 2017-04-25T06:17:19-05:00
      1.2   80.0       0 36.8G 35.3G   0|0   0|0  892b    28k  178 rs0  SEC 2017-04-25T06:17:20-05:00
      0.3   80.0       1 36.8G 35.3G   0|0   0|0    2k    34k  178 rs0  SEC 2017-04-25T06:17:21-05:00
      

            Assignee:
            Unassigned Unassigned
            Reporter:
            SathishJuly Sathish Babu [X]
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: