Re: Out of memory kernel death

The SethMeister (
Thu, 08 May 1997 18:05:27 -0400

At 08:39 PM 5/7/97 +0100, you wrote:
>> I also read the FreeBSD sourcecode, and saw a (somewhat)
>> elegant solution for this. If FreeBSD is out of memory, it
>> looks through the processes and kills off the largest one.
>> This should be doable in Linux too...
>Oh dear. My largest process is the X server. On servers its probably
>stuff like web engines and database processes - just the stuff you don't
>want to hit!

What about the situation in which the largest process is your login shell?
If it kills it and then more memory gets eaten, how does one recover?