Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
2.8.0-rc2
-
Minor Change
-
Linux
-
v4.0, v3.6
-
(copied to CRM)
Description
The memory size is taken into account within various components today:
- We set the default WiredTiger cache_size to approximately 1/2 of the memory size
- When ephemeral storage is in use we consider the memory limit in place to determine the default oplog size
- We set the tcmalloc cache size to 1/8th of the available memory
In all of these cases we should take the actual memory constraint that we're operating under into account rather than the total system memory – for example when running MongoDB within containers.
Attachments
Issue Links
- is depended on by
-
SERVER-39966 Report both total actual system memory and cgroup memory limit in hostInfo
-
- Closed
-
- is documented by
-
DOCS-12599 Docs for SERVER-16571: Use Actual Memory Constraint vs. Total System Memory When They Differ
-
- Closed
-
- is related to
-
SERVER-60412 Host memory limit check does not honor cgroups v2
-
- Closed
-
-
SERVER-52596 Detect memLimitMB in K8S pod and inform WiredTigerCacheSize calculation for pod RAM instead of total system RAM
-
- Closed
-
- related to
-
DOCS-4645 Production Notes for WiredTiger
-
- Closed
-
-
DOCS-13072 SELinux and actual memory usage warnings
-
- Closed
-