Re:What's the right amount of swap space for a modern Linux ...
by znpy on Monday February 18, 2019 @03:20PM
(#19194024)
The thing is that you don't get "out of memory errors" you get the kernel to almost randomly choose a process and sacrifice it in order to free ram.
If the chosen process is a database... That's not funny. At all.
Edit: you could adjust the oom score to avoid Linux killing important process, but I don't want to discover if Linux is actually going to follow the oom score or just "keep it in mind" when choosing a process to sacrifice.
If the chosen process is a database... That's not funny. At all.
Edit: you could adjust the oom score to avoid Linux killing important process, but I don't want to discover if Linux is actually going to follow the oom score or just "keep it in mind" when choosing a process to sacrifice.