From owner-freebsd-virtualization@FreeBSD.ORG Wed Nov 27 04:01:09 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7374DE39; Wed, 27 Nov 2013 04:01:09 +0000 (UTC) Received: from mail-lb0-x236.google.com (mail-lb0-x236.google.com [IPv6:2a00:1450:4010:c04::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CBBD72473; Wed, 27 Nov 2013 04:01:08 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id u14so5023160lbd.41 for ; Tue, 26 Nov 2013 20:01:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:cc:content-type; bh=kDKCZQRjX3T0jKB6SL7waCMfdz6kQ79rzCGA9JfzpDY=; b=qU6M+F8THgCU1JhqZyaWwFurihh7ySh3WXWl6SGDPZj2GBJ/HiN/NOe6PCdC4+yg+c No7lGcw/M1xfAzyvvC9/xYPSCJCVziHieqOHqAsgJtRWO4vJ522q2QRYRwuTjK3Ne0bg SSo+wcKnaiqIYhmO++NfBRjqZWdIDjLnQQsriC9DyES4wzQzRGyYZHDVQr76HM00LGDR sRXn4k5WrCfYAu5fggfWqhCccDfxOSMeTQTdJrG1Sx4Okuyrsv0BOzM7iSjpA923vZMJ qrFt4Kascu3oqdYZyiW7rXdCy15DA8b8bBZ7YUKefw05NHJZx2uQJt5G4/sRBqKUxIPz Q9Iw== MIME-Version: 1.0 X-Received: by 10.152.87.142 with SMTP id ay14mr21925346lab.7.1385524866904; Tue, 26 Nov 2013 20:01:06 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.112.120.232 with HTTP; Tue, 26 Nov 2013 20:01:06 -0800 (PST) Date: Tue, 26 Nov 2013 20:01:06 -0800 X-Google-Sender-Auth: u0WropekiSswkL6V5kE8kG3OBKw Message-ID: Subject: VIMAGE: Freed UMA keg was not empty From: Craig Rodrigues To: "freebsd-virtualization@freebsd.org" , Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.16 Cc: thierry.herbelot@free.fr 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 04:01:09 -0000 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