Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3574924ybl; Mon, 12 Aug 2019 02:51:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqzP5wIV7WmDpTlPT4nLFStQJtasmexIUlQGiSE87A39I1ZWOTw4akKa7cv0yNo4P7/iLuAj X-Received: by 2002:a17:902:bc4c:: with SMTP id t12mr14522593plz.1.1565603490849; Mon, 12 Aug 2019 02:51:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565603490; cv=none; d=google.com; s=arc-20160816; b=ZUsP9wAZl1R77Xe8W4LrZRjyqpNNWpQNtvDQaS9+F8ksGcyln/fnwipQFVxdcdk4Zs 0ZrVP2ODd30s7GuH/6tLCQq4MG9bihjbS0IuWL5xxVfUXYlaXR6LrHKm5Y5mwkqD+82s V69ZdGnON3/Oy6XumhMcvOAAJXkTnTaqtS8ZMmFX+Hdh5iC4lxNLFNaKX3jXuwhmHMHV Y91sN3PvCAxLpLk5qF6pkPHA1BD6enjWQEYc285E8wMAZ/v0tazM7LSfzmWOyHHtapuk QhK13iVI/f1EgpD50OTBlJ+tTsuCh4ogHajqZO83ayYRA9JtPfcbe08BfMn9xNFnXJ1k PsDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=iVVt+llqrSvTjIAs79BJ0YzBiPwnf5djw1WsaBMyF94=; b=A+E2vjurtW2ltGliyNHZc6Q6VCwT1VD/UiOgIjokvhW3eoNxbwPFETwPXP7gspsLue PMDa+uEgrxyYUA+mdpHbhCnuvrhOk2bu0IOGCnOuA52uMkIRsCeOWt+3uCG7WkQCcrEO npOlpAHiKzOW/7A9JKDz6ELUp8tAF8EViNzhevH5vhwnT2XKvsNELhR+JudCPj1ylof7 85080Q4VTLaLdTn8awGJrqWy8ML2JCQ+T6LaiVNGtLTCNgA9M8S86KMxqjiScGbO0S4Z xGdBBzynuFFYCLlqDxv+Dd1x4D95/u+20I2VWw/mtkZ+NuEXfl5us+j0srM6d3Sg8VcN PBTg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h69si63078192pge.543.2019.08.12.02.51.15; Mon, 12 Aug 2019 02:51:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727630AbfHLJuc (ORCPT + 99 others); Mon, 12 Aug 2019 05:50:32 -0400 Received: from mx2.suse.de ([195.135.220.15]:46000 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727471AbfHLJub (ORCPT ); Mon, 12 Aug 2019 05:50:31 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 9F9FEAECA; Mon, 12 Aug 2019 09:50:30 +0000 (UTC) Date: Mon, 12 Aug 2019 11:50:29 +0200 From: Michal Hocko To: Paul Menzel Cc: =?iso-8859-1?Q?J=F6rg_R=F6del?= , iommu@lists.linux-foundation.org, linux-pci@vger.kernel.org, "x86@kernel.org" , kexec@lists.infradead.org, Linux Kernel Mailing List , Donald Buczek Subject: Re: Crash kernel with 256 MB reserved memory runs into OOM condition Message-ID: <20190812095029.GE5117@dhcp22.suse.cz> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 12-08-19 11:42:33, Paul Menzel wrote: > Dear Linux folks, > > > On a Dell PowerEdge R7425 with two AMD EPYC 7601 (total 128 threads) and > 1 TB RAM, the crash kernel with 256 MB of space reserved crashes. > > Please find the messages of the normal and the crash kernel attached. You will need more memory to reserve for the crash kernel because ... > [ 4.548703] Node 0 DMA free:484kB min:4kB low:4kB high:4kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:568kB managed:484kB mlocked:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB > [ 4.573612] lowmem_reserve[]: 0 125 125 125 > [ 4.577799] Node 0 DMA32 free:1404kB min:1428kB low:1784kB high:2140kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:15720kB writepending:0kB present:261560kB managed:133752kB mlocked:0kB kernel_stack:2496kB pagetables:0kB bounce:0kB free_pcp:212kB local_pcp:212kB free_cma:0kB ... the memory is really depleted and nothing to be reclaimed (no anon. file pages) Look how tht free memory is below min watermark (node zone DMA has lowmem protection for GFP_KERNEL allocation). [...] > [ 4.923156] Out of memory and no killable processes... and there is no task existing to be killed so we go and panic. -- Michal Hocko SUSE Labs