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

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.2.2
    • 2.3.2
    • Internal Code
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: