Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422664AbWASWNv (ORCPT ); Thu, 19 Jan 2006 17:13:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1422667AbWASWNu (ORCPT ); Thu, 19 Jan 2006 17:13:50 -0500 Received: from smtp.osdl.org ([65.172.181.4]:39561 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1422664AbWASWNe (ORCPT ); Thu, 19 Jan 2006 17:13:34 -0500 Date: Thu, 19 Jan 2006 14:15:15 -0800 From: Andrew Morton To: Dave Jones Cc: AChittenden@bluearc.com, linux-kernel@vger.kernel.org, lwoodman@redhat.com, Jens Axboe Subject: Re: Out of Memory: Killed process 16498 (java). Message-Id: <20060119141515.5f779b8d.akpm@osdl.org> In-Reply-To: <20060119194836.GM21663@redhat.com> References: <89E85E0168AD994693B574C80EDB9C270355601F@uk-email.terastack.bluearc.com> <20060119194836.GM21663@redhat.com> X-Mailer: Sylpheed version 1.0.0 (GTK+ 1.2.10; i386-vine-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1156 Lines: 25 Dave Jones wrote: > > On Thu, Jan 19, 2006 at 03:11:45PM -0000, Andy Chittenden wrote: > > DMA free:20kB min:24kB low:28kB high:36kB active:0kB inactive:0kB > > present:12740kB pages_scanned:4 all_unreclaimable? yes > > Note we only scanned 4 pages before we gave up. > Larry Woodman came up with this patch below that clears all_unreclaimable > when in two places where we've made progress at freeing up some pages > which has helped oom situations for some of our users. That won't help - there are exactly zero pages on ZONE_DMA's LRU. The problem appears to be that all of the DMA zone has been gobbled up by the BIO layer. It seems quite inappropriate that a modern 64-bit machine is allocating tons of disk I/O pages from the teeny ZONE_DMA. I'm suspecting that someone has gone and set a queue's ->bounce_gfp to the wrong thing. Jens, would you have time to investigate please? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/