mirror of
https://github.com/apple/container.git
synced 2026-10-15 02:29:21 +00:00
Sets `memory.low` for `vminitd` cgroup to make kernel avoid reclaiming its memory under high memory pressure. Even if the container process runs in memory cgroup, consuming lots of page cache can lead to reclaiming `vminitd`'s page cache memory , which hangs the `vminitd`. Setting `memory.low` makes kernel avoid reclaiming `vminitd`'s page so that we can guarantee the proper `vminitd` operation under high memory pressure.