by codedokode · 2y ago · 0 comments
This is a problem with popular Linux distributions, they do not have protection against application swapping out important system applications.
Linux has disk quotas and CPU scheduler but it doesn't have fair memory and swap management (or this is not configured out of the box). For example, desktop shell doesn't have protection against being swapped out.
A per-process real memory maximum that automatically invokes the OOM killer unless somehow opted out would probably be useful.