From owner-freebsd-current@FreeBSD.ORG Wed Jun 30 01:33:25 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 0434516A4CE for ; Wed, 30 Jun 2004 01:33:25 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEE3143D1D for ; Wed, 30 Jun 2004 01:33:24 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.11/8.12.11) with ESMTP id i5U1W7BL054352; Tue, 29 Jun 2004 21:32:07 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i5U1W6KM054349; Tue, 29 Jun 2004 21:32:07 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Tue, 29 Jun 2004 21:32:06 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Doug White In-Reply-To: <20040629182027.I54069@carver.gumbysoft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Ronald Klop 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:33:25 -0000 On Tue, 29 Jun 2004, Doug White wrote: > 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. What you want to do is use a swap-backed /tmp, assuming there's local swap. We should probably discuss why the rc.conf bits use malloc-backed by default in what sounds like a non-diskless environment? Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research > > > panic: kmem_malloc(16384): kmem_map too small: 86233088 total allocated > > -- > Doug White | FreeBSD: The Power to Serve > dwhite@gumbysoft.com | www.FreeBSD.org > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >