On Sun, 12 Jan 2020 18:27:40 +0100 Per Jessen <per@computer.org> wrote:
Andrei Borzenkov wrote:
12.01.2020 20:13, Per Jessen пишет:
In my experience, the oom killer kills the _best_ process, which is the one that uses the most memory.
Which is not necessary the process that caused OOM and that you want to kill.
Exactly. That's what I was trying to say.
As trivial example - you have long running computation (something with matrices or whatever) using almost all of available memory, but not going to allocate more. You start browser that needs memory and provokes OOM. Which program would you want to kill?
Yep. Very much the situation my customer experienced over Christmas. The right thing would have been to kill off some apache threads, instead mysql got killed ....
But surely the customer shot himself in the foot? Apache offers various directives for tuning the number of threads. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org