Auteur: dng@d404.nl Datum: Aan: dng Onderwerp: Re: [DNG] Max Load Average
On 18-07-2024 20:29, Hendrik Boom wrote: >
> I wish there *was* a way I could choose and shut down a process when I
> reach the out-of-memory situation.
>
> It's usually firefox-esr that I want to shut down. It's usually the culprit.
>
> I can try ctrl-alt-F1 to reach a root console to use killall firefox-esr.
> I don't even need root if it's my own firefox-esr.
>
> But the machine becomes so unresponsive when it happens that it's pretty
> hopeless.
>
> There was one night I just decided to go to bed rather than wait for the
> console to reapond, wait for the oom killer or reboot. I gave the
> oom killer all night to do its job. But in the morning it still hadn't
> recovered, whereupon I ended up doing a reboot anyway.
>
> -- hendrik
> _____________
When I have to kill firefox-esr I prefer to try pkill -15 firefox-esr
first before using killall. For me pkill works about half of the time
but your YMMV.