Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jun 2005 10:59:52 +0200
From:      "Tom Jensen" <freebsd-stable@motd.dk>
To:        "'Kris Kennaway'" <kris@obsecurity.org>
Cc:        freebsd-stable@freebsd.org
Subject:   RE: panic: kmem_malloc(4096): kmem_map too small: 62877696 totalallocated
Message-ID:  <20050612090155.E52F460D2@bart.motd.dk>
In-Reply-To: <20050612013959.GA40654@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
 

> -----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
	




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050612090155.E52F460D2>