[SERVER-20056] Log a startup warning if wiredTigerCacheSizeGB is > 80% of RAM Created: 20/Aug/15  Updated: 24/Apr/18  Resolved: 05/Apr/18

Status: Closed
Project: Core Server
Component/s: WiredTiger
Affects Version/s: None
Fix Version/s: 3.4.15, 3.6.5, 3.7.4

Type: Improvement Priority: Minor - P4
Reporter: David Hows Assignee: Maria van Keulen
Resolution: Done Votes: 0
Labels: supportgrab2018Q1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.6, v3.4
Sprint: Storage NYC 2018-03-26, Storage NYC 2018-04-09
Participants:
Story Points: 3

 Description   

Currently you can set wiredTigerCacheSizeGB to be 100% of available memory, which will almost certainly lead to problems.

Perhaps a startup check here to confirm that wiredTigerCacheSizeGB is < 80% of available Memory.



 Comments   
Comment by Githook User [ 23/Apr/18 ]

Author:

{'email': 'maria@mongodb.com', 'username': 'mvankeulen94', 'name': 'Maria van Keulen'}

Message: SERVER-20056 Warn when wiredTigerCacheSizeGB is > 80% of RAM

(cherry picked from commit 657fdff7b50949b50848b1de466c88f7be18034b)
Branch: v3.4
https://github.com/mongodb/mongo/commit/8f92f4f7d2a9f230fc85776cdfaae66a565674b6

Comment by Githook User [ 23/Apr/18 ]

Author:

{'email': 'maria@mongodb.com', 'username': 'mvankeulen94', 'name': 'Maria van Keulen'}

Message: SERVER-20056 Warn when wiredTigerCacheSizeGB is > 80% of RAM

(cherry picked from commit 657fdff7b50949b50848b1de466c88f7be18034b)
Branch: v3.6
https://github.com/mongodb/mongo/commit/8b290e94bcee3ed93bc487c3194ad5d88050008c

Comment by Githook User [ 05/Apr/18 ]

Author:

{'email': 'maria@mongodb.com', 'name': 'Maria van Keulen', 'username': 'mvankeulen94'}

Message: SERVER-20056 Warn when wiredTigerCacheSizeGB is > 80% of RAM
Branch: master
https://github.com/mongodb/mongo/commit/657fdff7b50949b50848b1de466c88f7be18034b

Comment by Martin Bligh [ 11/Jan/16 ]

The threshold should be a lot lower than 100. Would suggest our default, 60.

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