From owner-freebsd-current@FreeBSD.ORG Mon Jan 15 12:45:58 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 010F016A415 for ; Mon, 15 Jan 2007 12:45:58 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id D114213C459 for ; Mon, 15 Jan 2007 12:45:57 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 4C3474A67E; Mon, 15 Jan 2007 07:45:57 -0500 (EST) Date: Mon, 15 Jan 2007 12:45:57 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Peter Jeremy In-Reply-To: <20070115083125.GC839@turion.vk2pj.dyndns.org> Message-ID: <20070115124503.X24395@fledge.watson.org> References: <45AA1C64.9020106@cisco.com> <20070115083125.GC839@turion.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Randall Stewart , current@freebsd.org Subject: Re: Another question .. this time on a panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jan 2007 12:45:58 -0000 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