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

Report both total actual system memory and cgroup memory limit in hostInfo

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.9
    • Diagnostics
    • Fully Compatible

    Description

      WIth SERVER-16571 hostInfo.memSizeMB will now report the cgroup memory limit instead of the actual system memory. However system memory statistics in ftdc are reported for the system as a whole, not just for the container, so interpreting them requires knowing the total actual system memory. There may be other diagnostic purposes for knowing the actual system memory as well, so it's difficult to know up front the impact of no longer having this information. Also, seeing different values for system memory vs memSizeMB will alert us to the fact that a cgroup is in use, which also has diagnostic value.

      Suggest adding a field, maybe hostInfo.systemMemSizeMB, to report this information.

      Attachments

        Issue Links

          Activity

            People

              matt.lord Matt Lord (Inactive)
              bruce.lucas@mongodb.com Bruce Lucas (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: