3 ms·
Swap causes thrashing, making the whole system unusable, instead of a clean OOM kill
by direwolf20 9mo ago
Swap causes thrashing, making the whole system unusable, instead of a clean OOM kill
- man8alexd 9mo agoswap causes thrashing if you have too large swap and no cgroup limits.
- NekkoDroid 9mo agoIMO OOM killing should be reserved for single processes misbehaving. When a lot of different applications just use a decent amount of memory and exhaust the system RAM swapping to disk is the appropriate thing to do.
- man8alexd 9mo agoWhen you set cgroup limits, you tell the kernel how to determine when a process is misbehaving and needs to be OOM-killed.