From owner-freebsd-net@FreeBSD.ORG Sun Jan 11 20:35:16 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58765106566B for ; Sun, 11 Jan 2009 20:35:16 +0000 (UTC) (envelope-from jason.dicioccio@ods.org) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by mx1.freebsd.org (Postfix) with ESMTP id 12EC78FC19 for ; Sun, 11 Jan 2009 20:35:15 +0000 (UTC) (envelope-from jason.dicioccio@ods.org) Received: by yw-out-2324.google.com with SMTP id 9so4278631ywe.13 for ; Sun, 11 Jan 2009 12:35:15 -0800 (PST) Received: by 10.65.115.12 with SMTP id s12mr3865338qbm.111.1231706114421; Sun, 11 Jan 2009 12:35:14 -0800 (PST) Received: from ?192.168.5.50? (75-101-10-223.dsl.dynamic.sonic.net [75.101.10.223]) by mx.google.com with ESMTPS id s12sm5120095qbs.10.2009.01.11.12.35.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 11 Jan 2009 12:35:13 -0800 (PST) Sender: Jason DiCioccio Message-ID: <496A5800.5080506@ods.org> Date: Sun, 11 Jan 2009 12:35:12 -0800 From: Jason DiCioccio User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Still trying to debug mbuf leak.. Anyone familiar with uma_*? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jan 2009 20:35:16 -0000 So I've got various vmcores here from kmem_malloc failures.. I already know that it's an excess of mbufs that's causing the crash, I'm just trying to figure out what the mbufs contain so that I can try and figure out where they came from.. Currently I'm able to get at (uma_zone_t)zone_mbuf, but I'm unsure how to get to the actual mbuf data from there. I've tried looking the the uma_keg, etc. No luck so far. Is there anyone familiar with these data structures that could point me in the right direction? (kgdb) p *zone_mbuf $66 = {uz_name = 0xc076d6d1 "mbuf", uz_lock = 0xc1048108, uz_keg = 0xc1048100, uz_link = {le_next = 0xc1047180, le_prev = 0xc104812c}, uz_full_bucket = { lh_first = 0x0}, uz_free_bucket = {lh_first = 0x0}, uz_ctor = 0xc05068f0 , uz_dtor = 0xc0507040 , uz_init = 0, uz_fini = 0, uz_allocs = 137806761, uz_frees = 136018292, uz_fails = 136, uz_fills = 4, uz_count = 128, uz_cpu = {{ uc_freebucket = 0xc73a8c48, uc_allocbucket = 0x0, uc_allocs = 0, uc_frees = 0}}} Thanks! -JD-