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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.3.2
    • Affects Version/s: 2.2.2
    • Component/s: Internal Code
    • None
    • Linux

      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
      

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

              Created:
              Updated:
              Resolved: