Re: Another question .. this time on a panic

From: Randall Stewart <rrs_at_cisco.com>
Date: Mon, 15 Jan 2007 09:46:58 -0500
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)
Received on Mon Jan 15 2007 - 13:47:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:04 UTC