From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: the new VM References: From: Christoph Rohland Date: 25 Sep 2000 22:34:11 +0200 In-Reply-To: Rik van Riel's message of "Mon, 25 Sep 2000 11:37:18 -0300 (BRST)" Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-linux-mm@kvack.org Return-Path: To: Rik van Riel Cc: MM mailing list , linux-kernel@vger.kernel.org List-ID: Hi Rik, Rik van Riel writes: > > Because as you said the machine can lockup when you run out of memory. > > The fix for this is to kill a user process when you're OOM > (you need to do this anyway). > > The last few allocations of the "condemned" process can come > frome the reserved pages and the process we killed will exit just > fine. It's slightly offtopic, but you should think about detached shm segments in yout OOM killer. As many of the high end applications like databases and e.g. SAP have most of the memory in shm segments you easily end up killing a lot of processes without freeing a lot of memory. I see this often in my shm tests. Greetings Christoph -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux.eu.org/Linux-MM/