[SERVER-37083] Improve Window secure allocator Created: 12/Sep/18  Updated: 29/Oct/23  Resolved: 10/Oct/18

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.0.4, 4.1.4

Type: Bug Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Mark Benvenuto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.0
Sprint: Security 2018-09-24, Security 2018-10-22
Participants:

 Description   

On Windows 10 and 2012 R2,the parameter dwMaximumWorkingSetSize of SetProcessWorkingSetSizeEx must be >= (dwMinimumWorkingSetSize + 0x7000). The 0x7000 appears to be undocumented and discovered during adhoc testing.

This can be triggered by secure memory exhaustion on Windows. In 4.0, the Encrypted Storage Engine uses more secure memory per database which means it is likely to encounter this.



 Comments   
Comment by Githook User [ 12/Oct/18 ]

Author:

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

Message: SERVER-37083 Improve Window secure allocator

(cherry picked from commit 7351aa17dbda65533bb485eb5b7dabcf14b7c9fd)
Branch: v4.0
https://github.com/10gen/mongo-enterprise-modules/commit/86f3da02312e27031e188211832a05126762a328

Comment by Githook User [ 12/Oct/18 ]

Author:

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

Message: SERVER-37083 Improve Window secure allocator

(cherry picked from commit 72e12b7765a932da1814cb62cb1b964e1121f696)
Branch: v4.0
https://github.com/mongodb/mongo/commit/e274dcdeb50ec94d80e27c1ee78f90952d6231c9

Comment by Githook User [ 10/Oct/18 ]

Author:

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

Message: SERVER-37083 Improve Window secure allocator
Branch: master
https://github.com/mongodb/mongo/commit/72e12b7765a932da1814cb62cb1b964e1121f696

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