Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jan 2007 12:45:57 +0000 (GMT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Peter Jeremy <peterjeremy@optushome.com.au>
Cc:        Randall Stewart <rrs@cisco.com>, current@freebsd.org
Subject:   Re: Another question .. this time on a panic
Message-ID:  <20070115124503.X24395@fledge.watson.org>
In-Reply-To: <20070115083125.GC839@turion.vk2pj.dyndns.org>
References:  <45AA1C64.9020106@cisco.com> <20070115083125.GC839@turion.vk2pj.dyndns.org>

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

On Mon, 15 Jan 2007, Peter Jeremy wrote:

> On Sun, 2007-Jan-14 07:04:52 -0500, Randall Stewart wrote:
>> panic: kmem_malloc(4096): kmem_map too small: 83386368 total allocated
> ...
>> With what little poking around I have done it looks
>> like I am out of wired memory...
> ...
>> Is there any way to tell what is holding all the memory :-)
>
> vmstat -m

And vmstat -z for the slab allocator.  Both of which can be run on core dumps 
as well as live systems.

In the DDB debugger, there's also "show uma" and "show malloc" which display 
basically the same information.

Robert N M Watson
Computer Laboratory
University of Cambridge



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