Re: [PATCH] Prevent OOM from killing init

Mike Galbraith
2001-03-24T08:04:19Z

On Sat, 24 Mar 2001, Rik van Riel wrote:

> On Fri, 23 Mar 2001, george anzinger wrote:
>
> > What happens if you just make swap VERY large? Does the system thrash
> > it self to a virtual standstill?
>
> It does. I need to implement load control code (so we suspend
> processes in turn to keep the load low enough so we can avoid
> thrashing).

That would be a nice emergency feature. I've run into the situation
where the box was thrashing so badly that it was impossible to login
to try to regain control. Getting a login prompt took nearly forever,
and I could'nt get a passwd entered before login timed-out :)

-Mike