From owner-freebsd-stable@FreeBSD.ORG Sun Jun 12 08:59:36 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D602616A41C for ; Sun, 12 Jun 2005 08:59:36 +0000 (GMT) (envelope-from freebsd-stable@motd.dk) Received: from bart.motd.dk (port95.ds1-ro.adsl.cybercity.dk [212.242.60.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6913443D5C for ; Sun, 12 Jun 2005 08:59:36 +0000 (GMT) (envelope-from freebsd-stable@motd.dk) Received: from localhost (localhost.motd.dk [127.0.0.1]) by bart.motd.dk (Postfix) with ESMTP id 1461C6364; Sun, 12 Jun 2005 11:01:58 +0200 (CEST) Received: from bart.motd.dk ([127.0.0.1]) by localhost (bart.motd.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03583-01; Sun, 12 Jun 2005 11:01:56 +0200 (CEST) Received: from home03 (home03.motd.dk [192.168.10.3]) by bart.motd.dk (Postfix) with ESMTP id E52F460D2; Sun, 12 Jun 2005 11:01:55 +0200 (CEST) From: "Tom Jensen" To: "'Kris Kennaway'" Date: Sun, 12 Jun 2005 10:59:52 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcVu8C5stsTaaMnARXWLrtxPPndRdwAPBGZA In-Reply-To: <20050612013959.GA40654@xor.obsecurity.org> Message-Id: <20050612090155.E52F460D2@bart.motd.dk> X-Virus-Scanned: by amavisd-new at motd.dk Cc: freebsd-stable@freebsd.org Subject: RE: panic: kmem_malloc(4096): kmem_map too small: 62877696 totalallocated X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2005 08:59:36 -0000 > -----Original Message----- > From: owner-freebsd-stable@freebsd.org > [mailto:owner-freebsd-stable@freebsd.org] On Behalf Of Kris Kennaway > Sent: 12. juni 2005 03:40 > To: Tom Jensen > Cc: freebsd-stable@freebsd.org > Subject: Re: panic: kmem_malloc(4096): kmem_map too small: > 62877696 totalallocated > > On Sun, Jun 12, 2005 at 01:11:13AM +0200, Tom Jensen wrote: > > Got the following panic on a 5.4 box(i386): > > > > panic: kmem_malloc(4096): kmem_map too small: 62877696 > total allocated > > > > Uname: 5.4-RELEASE FreeBSD 5.4-RELEASE #4: Sun May 8 01:57:26 CEST > > 2005 > > > > Had two ntfs partitions mounted and was doing a find . > -name *.pst on > > one of them. > > > > Following info collected, but kernel dump aviable if more > information > > is needed. > > How much RAM in your system, and what is your kernel config? > This can be caused by two things: > > * A memory leak in FreeBSD > > * Incorrect tuning of your kernel memory parameters and > causing the kernel to run out of memory. > > Kris > RAM: real memory = 201326592 (192 MB) avail memory = 187273216 (178 MB) Havent done any kernel tuning and running with a mostly generic kernel (changes to GENERIC below): options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=400 options IPDIVERT device ath device ath_hal makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols options KDB options DDB # Enable the kernel debugger options BREAK_TO_DEBUGGER options DEBUG_LOCKS - Tom