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 |