Details
-
Bug
-
Resolution: Fixed
-
Critical
-
7.1.0
-
Untriaged
-
1
-
No
Description
Plasma mem tuner uses sigar to get system memory stats (TotalMemory, FreeMemory and FreePercent). In a container environment, sigar will return the values for the host machine and not for the container. This can lead to plasma mem quota to not be tuned correctly and lead to OOM kill of indexer process. OOM killer operates on the cgroup memory limit.
ns_server exposes some system stats. These stats include some that come from sigar and some that are from local stats. The local stats include both memory and cpu stats and they are collected by reading certain files as follows:
Should also consider these stats in mem tuner instead of relying only on sigar.
Should consider these stats in GetCPUPercent() so that swapperContext rebalance works as expected.
Attachments
Issue Links
- relates to
-
MB-47591 Incorrect cgroup resource detection (core/memory) when running in Container / K8S
- Closed
-
MB-49381 Projector memory monitoring doesn't work correctly in memory limited containers
- Closed
-
MB-47591 Incorrect cgroup resource detection (core/memory) when running in Container / K8S
- Closed