Details
-
Improvement
-
Resolution: Fixed
-
Critical
-
5.5.0
Description
When plasma memory usage goes too close to quota it runs risk of OOM killer.
This logic in RunMemQuotaTuner() appears suspicious..
if float64(sys.TotalMemory)*MTunerMinFreeMemRatio > float64(MTunerMaxFreeMemory) { |
MTunerMinFreeMemRatio = float64(MTunerMaxFreeMemory) / float64(sys.TotalMemory)
|
}
|
given that
MTunerMaxFreeMemory = int64(5 * 1024 * 1024 * 1024) |
sometimes we see log messages that keep the quota too close to the OOM killer mark..
2018-05-17T14:27:55.400+00:00 [Info] Plasma: Adaptive memory quota tuning minFreePercent:3.334435880496056, freePercent:7.666473160444207, currentQuota=188743680000 |
Attachments
For Gerrit Dashboard: MB-29976 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
95335,1 | MB-29976 mm: Up the MemQuotaTuner MaxFreeMem to 10GB | unstable | plasma | Status: ABANDONED | -1 | +1 |
95374,1 | MB-29976 plasma: Up the MemQuotaTuner MaxFreeMem to 10GB | unstable | indexing | Status: MERGED | +2 | +1 |
95472,1 | MB-29976 Merge commit '01f1f5f' into HEAD | master | indexing | Status: MERGED | +2 | +1 |
95475,1 | Revert "MB-29976 Merge commit '01f1f5f' into HEAD" | master | indexing | Status: MERGED | +2 | +1 |
95476,1 | MB-29976 Merge commit '01f1f5f' into HEAD | vulcan | indexing | Status: MERGED | +2 | +1 |
104024,1 | Revert "MB-29976 Merge commit '01f1f5f' into HEAD" | unstable | indexing | Status: ABANDONED | 0 | 0 |