[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Out of memory killer misconfigured?



On Tue, Apr 19, 2022 at 04:44:36PM +0100, Tim Woodall wrote:
> On Mon, 18 Apr 2022, piorunz wrote:
> 
> > 
> > I look from desktop perspective. OS (Linux) runs my desktop and manage
> > all programs [...]

> Because not every machine that has the linux kernel installed runs a
> desktop [...]

As I already said: I think the OOM killer is the wrong tool for this
job. Once that fires, all bets are up. Its job is to give the sys
admin/system a chance to shut down cleanly, not much more.

Some resource manager (ulimits, control groups [1], what have you)
seems more appropriate. It's up to the desktop environment folks
or to the sysadmin to set them up properly, of course.

As for why the OOM killer is not triggering the was piorunz expects,
no idea. The scores and the knobs to regulate them are well-known...

@piorunz: you could start the browser with a worse score so it
gets killed earlier if that suits better your use case.

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature


Reply to: