Another question .. this time on a panic
Randall Stewart
rrs at cisco.com
Mon Jan 15 14:47:56 UTC 2007
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)
More information about the freebsd-current
mailing list