[SERVER-9658] Reduce frequency of debug message "we think data is in ram" Created: 13/May/13  Updated: 11/Jul/16  Resolved: 14/May/13

Status: Closed
Project: Core Server
Component/s: Logging
Affects Version/s: 2.4.3
Fix Version/s: 2.4.4, 2.5.0

Type: Bug Priority: Minor - P4
Reporter: Tad Marshall Assignee: Tad Marshall
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows debug build


Issue Links:
Related
related to SERVER-9623 replset9.js failing on windows Closed
is related to SERVER-9596 Change debug message "we think data i... Closed
Backwards Compatibility: Fully Compatible
Operating System: Windows
Participants:

 Description   

Debug builds of mongod check to see if our internal working set tracking is accurate, and display the message "warning: we think data is in ram but system says no" when our tracking code thinks that data is in RAM but the operating system's authoritative answer is that the data is not in RAM.

We use 'QueryWorkingSetEx()' on Windows and 'mincore()' on other OSes to see if a particular page is in RAM.

On Windows, the QueryWorkingSetEx API doesn't actually tell us what is in RAM; it tells us what is in RAM and on the "Working Set" list. Pages that are in RAM and are on the 'Standby' list are not reported by this API. The result is that Windows debug builds spew large quantities of these messages, making logs hard to use.

These events should be displayed less frequently.



 Comments   
Comment by auto [ 17/May/13 ]

Author:

{u'date': u'2013-05-14T14:54:54Z', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}

Message: SERVER-9658 Reduce frequency of debug message
Branch: v2.4
https://github.com/mongodb/mongo/commit/582288be1c56f76a731b891c451808959d0659c2

Comment by auto [ 14/May/13 ]

Author:

{u'date': u'2013-05-14T14:54:54Z', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}

Message: SERVER-9658 Reduce frequency of debug message
Branch: master
https://github.com/mongodb/mongo/commit/3ec663b7bbaaeb08886ee1a9da0a853b1925c90e

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