From owner-freebsd-current@FreeBSD.ORG Mon Jan 15 14:47:56 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 10EE916A4A7; Mon, 15 Jan 2007 14:47:56 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117]) by mx1.freebsd.org (Postfix) with ESMTP id D64AE13C478; Mon, 15 Jan 2007 14:47:55 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from sj-dkim-2.cisco.com ([171.71.179.186]) by sj-iport-6.cisco.com with ESMTP; 15 Jan 2007 06:47:55 -0800 X-IronPort-AV: i="4.13,190,1167638400"; d="scan'208"; a="101716570:sNHT43743690" Received: from sj-core-5.cisco.com (sj-core-5.cisco.com [171.71.177.238]) by sj-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id l0FEltGH031755; Mon, 15 Jan 2007 06:47:55 -0800 Received: from xbh-sjc-221.amer.cisco.com (xbh-sjc-221.cisco.com [128.107.191.63]) by sj-core-5.cisco.com (8.12.10/8.12.6) with ESMTP id l0FEltUw023808; Mon, 15 Jan 2007 06:47:55 -0800 (PST) Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by xbh-sjc-221.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 15 Jan 2007 06:47:54 -0800 Received: from [127.0.0.1] ([171.68.225.134]) by xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 15 Jan 2007 06:47:54 -0800 Message-ID: <45AB93E2.1030200@cisco.com> Date: Mon, 15 Jan 2007 09:46:58 -0500 From: Randall Stewart User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061029 FreeBSD/i386 SeaMonkey/1.0.6 MIME-Version: 1.0 To: Robert Watson References: <45AA1C64.9020106@cisco.com> <20070115083125.GC839@turion.vk2pj.dyndns.org> <20070115124503.X24395@fledge.watson.org> In-Reply-To: <20070115124503.X24395@fledge.watson.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 15 Jan 2007 14:47:54.0699 (UTC) FILETIME=[23AA71B0:01C738B4] DKIM-Signature: v=0.5; a=rsa-sha256; q=dns/txt; l=1040; t=1168872475; x=1169736475; c=relaxed/simple; s=sjdkim2002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=rrs@cisco.com; z=From:=20Randall=20Stewart=20 |Subject:=20Re=3A=20Another=20question=20..=20this=20time=20on=20a=20pani c |Sender:=20; bh=N97MpS6euvmcD/kgWFsg6piwMN53J2AqN/okRC16Sqc=; b=XDyYq71U5qY2CkGLyUkd62JCf3G1+f7zX6l1yF5oiEke5VuhTmdkffs/e4mUwbgfSKshoeKE 51zZDt1rNDV153dNKLmh38NCBO9dLKHyKQhDBYRZoz0z8li9RV7aHRgx; Authentication-Results: sj-dkim-2; header.From=rrs@cisco.com; dkim=pass (sig from cisco.com/sjdkim2002 verified; ); Cc: Peter Jeremy , 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 14:47:56 -0000 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 803-317-4952 (cell)