From owner-freebsd-current@FreeBSD.ORG Wed Jun 30 01:24:00 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0846216A4CE for ; Wed, 30 Jun 2004 01:24:00 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA94643D1F for ; Wed, 30 Jun 2004 01:23:59 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id C2D7472DF2; Tue, 29 Jun 2004 18:22:57 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id BEEA572DB5; Tue, 29 Jun 2004 18:22:57 -0700 (PDT) Date: Tue, 29 Jun 2004 18:22:57 -0700 (PDT) From: Doug White To: Ronald Klop In-Reply-To: Message-ID: <20040629182027.I54069@carver.gumbysoft.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: panic: kmem_malloc; Should I increase some setting? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2004 01:24:00 -0000 On Wed, 30 Jun 2004, Ronald Klop wrote: > I get the following panics while untarring a 30MB archive on an md device > create with: > tmpmfs="YES" > tmpsize="256m" This is a malloc-backed md disk, which consumes memory directly from KVM. If you do a large extraction it will consume all of KVM and cause your panic. Unless you're running diskless and this is your only option besides NFS, either don't use tmpmfs or avoid extracting large amounts of data to /tmp. > panic: kmem_malloc(16384): kmem_map too small: 86233088 total allocated -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org