[SERVER-24643] Page size is hard-coded in Linux ProcessInfo class Created: 17/Jun/16  Updated: 04/Jan/17  Resolved: 07/Jul/16

Status: Closed
Project: Core Server
Component/s: Diagnostics
Affects Version/s: None
Fix Version/s: 3.3.10

Type: Bug Priority: Major - P3
Reporter: Kelsey Schubert Assignee: Mark Benvenuto
Resolution: Done Votes: 0
Labels: bkp
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.2
Sprint: Platforms 17 (07/15/16)
Participants:

 Description   

We should support the collection of metrics on platforms with different pages sizes.

Currently, we hardcoded the 4k value here: https://github.com/mongodb/mongo/blob/r3.3.8/src/mongo/util/processinfo_linux.cpp#L141



 Comments   
Comment by Mark Benvenuto [ 07/Jul/16 ]

This is a minor bug that how rss is reported on ppc64le. I am marking for backport because of this. It is a relatively minor issue though.

Comment by Githook User [ 07/Jul/16 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-24643 Page size is hard-coded in Linux ProcessInfo class
Branch: master
https://github.com/mongodb/mongo/commit/2b257c0835c9bec2ebccaac3cfba9ef09bed9bdc

Generated at Thu Feb 08 04:07:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.