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

Unexpectedly high non-mapped virtual memory usage on secondary

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 2.8.0-rc2
    • Fix Version/s: None
    • Component/s: Diagnostics
    • Labels:
      None
    • Operating System:
      ALL

      Description

      Upon upgrading a secondary from 2.6.3 to 2.8.0rc2 mmapv1, MMS began reporting a consistent large increase in non-mapped virtual memory usage: from ~1.2GB to ~19.4GB (screenshot attached).

      MMS defines non-mapped virtual memory as:
      (serverStatus.mem.virtual - 2 * serverStatus.mem.mapped)

      The 2x is applied because journalling is enabled. (And was enabled both before and after the upgrade.)

      Open connections reported by this host also remained the same before and after the upgrade.

      For easy reference, below is the serverStatus.mem section of this host's last ping:

              "mem": {
                  "virtual": 576484,
                  "bits": 64,
                  "supported": true,
                  "mappedWithJournal": 556650,
                  "mapped": 278325,
                  "resident": 34019
              },
       
      # MMS' calculation:
      # (576484 - (2 * 278325))/1024 => ~19.4GB

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ramon.fernandez Ramon Fernandez Marina
              Reporter:
              john.morales John Morales
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: