Re: Another question .. this time on a panic

From: Robert Watson <rwatson_at_FreeBSD.org>
Date: Mon, 15 Jan 2007 12:45:57 +0000 (GMT)
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
Received on Mon Jan 15 2007 - 11:45:58 UTC

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