From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264321AbTLVHD6 (ORCPT ); Mon, 22 Dec 2003 02:03:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264322AbTLVHD6 (ORCPT ); Mon, 22 Dec 2003 02:03:58 -0500 Received: from twilight.cs.hut.fi ([130.233.40.5]:65276 "EHLO twilight.cs.hut.fi") by vger.kernel.org with ESMTP id S264321AbTLVHD5 (ORCPT ); Mon, 22 Dec 2003 02:03:57 -0500 Date: Mon, 22 Dec 2003 09:03:44 +0200 From: Ville Herva To: Marcelo Tosatti , linux-kernel@vger.kernel.org, andrea@suse.de Subject: Re: lot of VM problem with 2.4.23 Message-ID: <20031222070344.GL1524@niksula.cs.hut.fi> Mail-Followup-To: Ville Herva , Marcelo Tosatti , linux-kernel@vger.kernel.org, andrea@suse.de References: <1071999003.2156.89.camel@abyss.local> <20031221150312.GJ25043@ovh.net> <20031221154227.GB1323@alpha.home.local> <20031221161324.GN25043@ovh.net> <20031221191431.GP25043@ovh.net> <20031221210917.GB4897@ovh.net> <20031221222338.GC1323@alpha.home.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031221222338.GC1323@alpha.home.local> User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Dec 21, 2003 at 11:23:38PM +0100, you [Willy Tarreau] wrote: > > > > Dec 21 22:08:44 stock kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0) > > Dec 21 22:08:44 stock kernel: OOM: nr_swap_pages=0cd865e6c c012e1e8 c0262e3c 00000000 000001d2 00000000 00000001 cd863c00 > > OK, so there's no available swap anymore (nr_swap_pages=0, Marcelo forgot the > '\n' in the patch). I simply think that with other kernels, you're very short > of memory, but it runs, while with this one, all memory gets consumed, and > since there's no smart oom killer, one process has to get killed. BTW, I have a box with 128MB ram and 512MB swap running 2.4.21-jam1 (it has the -aa vm). I can't shut it down cleanly, because trying it goes into endless loop trying to free memory when turning off swap. Nothing but alt-sysrq-b seems to work. I don't know if there is a kernel memory leak, since all user level processes should be killed at that point, right? Unfortunately I didn't have time to dig deeper, as the box is in (sort of) production. -- v -- v@iki.fi