|
|
Subscribe / Log in / New account

Out-of-memory victim selection with BPF

Out-of-memory victim selection with BPF

Posted Aug 21, 2023 20:41 UTC (Mon) by atnot (subscriber, #124910)
In reply to: Out-of-memory victim selection with BPF by patrakov
Parent article: Out-of-memory victim selection with BPF

I'd strongly recommend setting a memory.min setting on vital system services like sshd for this reason:

> Hard memory protection. If the memory usage of a cgroup is within its effective min boundary, the cgroup's memory won't be reclaimed under any conditions. If there is no unprotected reclaimable memory available, OOM killer is invoked. Above the effective min boundary (or effective low boundary if it is higher), pages are reclaimed proportionally to the overage, reducing reclaim pressure for smaller overages.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds