2 ms·
There is already memory.high (MemoryHigh= in systemd) you can set on cgroups which does something similar at the kernel level. But its challenging to use corre
by arianvanp 1y ago
There is already memory.high (MemoryHigh= in systemd) you can set on cgroups which does something similar at the kernel level.
But its challenging to use correctly. As its easy to end up in a live lock situation where the process never frees memory but also never gets killed.
See all the details that Kubernetes had with introducing this
https://github.com/kubernetes/enhancements/issues/2570 https://github.com/kubernetes/enhancements/issues/2570