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

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Watson wrote:
> 
> 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.

But unfortunately its broke.. at least when I tried
it, it did not work... :(


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

Ahh.. but my machine is debug unattended... so I have made a kgdb
set of utilites that do

vmstat_zone
and
vmstat_malloc

:-)

R
> 
> Robert N M Watson
> Computer Laboratory
> University of Cambridge
> 


-- 
Randall Stewart
NSSTG - Cisco Systems Inc.
803-345-0369 <or> 803-317-4952 (cell)



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