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

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

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.9
    • Component/s: Diagnostics
    • Labels:
    • Backwards Compatibility:
      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

              Assignee:
              matt.lord Matt Lord (Inactive)
              Reporter:
              bruce.lucas Bruce Lucas
              Participants:
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: