-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: 2.2.2
-
Component/s: Internal Code
-
None
-
Linux
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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