Remix.run Logo
direwolf20 12 hours ago

Swap causes thrashing, making the whole system unusable, instead of a clean OOM kill

NekkoDroid 12 hours ago | parent | next [-]

IMO 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 12 hours ago | parent [-]

When you set cgroup limits, you tell the kernel how to determine when a process is misbehaving and needs to be OOM-killed.

man8alexd 12 hours ago | parent | prev [-]

swap causes thrashing if you have too large swap and no cgroup limits.