From owner-freebsd-virtualization@FreeBSD.ORG Wed Nov 27 10:05:55 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8D12A55F; Wed, 27 Nov 2013 10:05:55 +0000 (UTC) Received: from mail-qa0-x235.google.com (mail-qa0-x235.google.com [IPv6:2607:f8b0:400d:c00::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 40CEB253D; Wed, 27 Nov 2013 10:05:55 +0000 (UTC) Received: by mail-qa0-f53.google.com with SMTP id j5so9155144qaq.19 for ; Wed, 27 Nov 2013 02:05:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=lWsY0yqB7Syq1+GztCapUw48HO61MgjmfN0maurMgkY=; b=WbpriJRv9BzOam6xx45be+ABHiZK9S85wFWgoxZJ0fpAIRdjystoTsYe3c2K0IQuU2 7T6apjFnyWPmYJZi7rnX7rIKXNsb+PGQzGQ6SkXlMmaYjjnPwemVrctYN1r6gPhnsusk d+BzbJUcODk3mgo6eugRhp4mJieLDDaEDoK7nUX3RbsvPUQQskWk13d7MoaoJjJWhEX+ IL5VGYZrOSGLBV9IBVX1Di1XMuYmX1BXFZhv4kyi365DCSilvxHLjuLYuSY2sJRi4T6F qltMEHPxe2DbaYZcXEZJJ74a4t2eXBmr7SWjlHRJpanV2e9AyFHjBNcF418wdH61x4j2 3YIQ== MIME-Version: 1.0 X-Received: by 10.224.111.197 with SMTP id t5mr64952345qap.49.1385546754318; Wed, 27 Nov 2013 02:05:54 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.207.66 with HTTP; Wed, 27 Nov 2013 02:05:54 -0800 (PST) In-Reply-To: References: Date: Wed, 27 Nov 2013 02:05:54 -0800 X-Google-Sender-Auth: zpbEid4-QWvLaztpDl3CWSFwN7A Message-ID: Subject: Re: VIMAGE: Freed UMA keg was not empty From: Adrian Chadd To: Craig Rodrigues Content-Type: text/plain; charset=ISO-8859-1 Cc: thierry.herbelot@free.fr, "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Nov 2013 10:05:55 -0000 Well, the first step is figuring out which UMA zones are actually problematic. Isn't it logging which zones aren't empty? -a On 26 November 2013 20:01, Craig Rodrigues wrote: > Adrian, > > As part of looking at this bug in FreeNAS: > > "Panic on new jail with vnet" > https://bugs.freenas.org/issues/3102 > > I started looking at this thread: > > http://lists.freebsd.org/pipermail/freebsd-current/2010-November/021280.html > > Based on this clue from Thiery: > > http://lists.freebsd.org/pipermail/freebsd-current/2010-November/021291.html > > I fixed some VIMAGE related memory leaks related to routetbl. > I also fixed some VIMAGE related kernel panics when > I tried creating and deleting lots of jails: > > http://lists.freebsd.org/pipermail/svn-src-all/2013-November/077178.html > http://lists.freebsd.org/pipermail/svn-src-all/2013-November/077192.html > http://lists.freebsd.org/pipermail/svn-src-all/2013-November/077195.html > > I haven't eliminated all the "Freed UMA keg was not empty" > error messages. > > Do you have any recommendations for how I can track down the last > few UMA related memory leaks? I am new to debugging UMA so > would appreciate any pointers that you may have. > -- > Craig