10 ms·
> instead everything just slows way down when swap gets involved when RAM is full I have literally never wanted this and so I'm curious why you do. This is why
by Spivak 2y ago
> instead everything just slows way down when swap gets involved when RAM is full
I have literally never wanted this and so I'm curious why you do. This is why earlyoom is a thing precisely because grinding your system to a halt is often worse than killing and restarting some processes.
High swappiness so you run slower but never lock up or low swappiness with an aggressive oom killer so you don't lock up are to me the only sane options. Why do you want your servers to be up but thrashing?
- lionkor 2y agoFor me, if I run out of RAM, its because im running a task that should not fail - so the reasoning is that id rather have it take longer than fail.
- pantalaimon 2y agoBugs happen and memory leaks happen. Also make -j is prone to run out of memory if you have many cores, I’d rather adjust the number of threads than have my system grind to a halt.