Another question .. this time on a panic
Robert Watson
rwatson at FreeBSD.org
Mon Jan 15 12:45:58 UTC 2007
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
More information about the freebsd-current
mailing list