Re: Out of memory kernel death

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 7 May 1997 20:39:55 +0100 (BST)


> 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!