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

Linux page_faults as reported by ProcessInfo::getExtraInfo should be 64bit, not 32 bit

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.2.2
    • Fix Version/s: 2.3.2
    • Component/s: Internal Code
    • Labels:
      None
    • Operating System:
      Linux

      Description

      ProcessInfo::getExtraInfo will return an integer for page_faults. In some cases, the number of page_faults returned is greater than an integer, causing serverStatus to report negative page fault values:

      MongoDB shell version: 2.2.2
      connecting to: test
      rs:PRIMARY> db.serverStatus().extra_info
      {
          "note" : "fields vary by platform",
          "heap_usage_bytes" : 337326056,
          "page_faults" : -2142822936
      }
      rs:PRIMARY> 
      bye
      $ cat /proc/4369/stat | awk '{print $2 " " $12}'
      (mongod) 2152145842

        Attachments

          Activity

            People

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            andre.defrere Andre de Frere
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: