From owner-freebsd-virtualization@FreeBSD.ORG Wed Nov 27 21:11:35 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 524C63A7; Wed, 27 Nov 2013 21:11:35 +0000 (UTC) Received: from mail-qa0-x236.google.com (mail-qa0-x236.google.com [IPv6:2607:f8b0:400d:c00::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 05B6C2945; Wed, 27 Nov 2013 21:11:34 +0000 (UTC) Received: by mail-qa0-f54.google.com with SMTP id f11so10856786qae.13 for ; Wed, 27 Nov 2013 13:11:34 -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=QJ6LGlbFVmLygxkBMyZLH6vEh1JVqoKkdMO0PGorKzc=; b=t7q089PruzeFVtJQyLbBFtr75zV92zR8ncL93X4jBDUDfN50shhyM7fMY4pnX7ErHy Wd5MBpa9b7NMgmTpsDG0HWwMs7KixxVNOOq1ocMoyZBcCMzFtu8TdBMAqN6maW6hxZZx vM+buuyAbE8BxtqNH15hcz46U3K2DXxlY0NOcv1vmZ+KYTsgWVsgqzraLzcLyWFcHRYn JdK9UVk7ugaU7cGoTzn1ZVdHH3h+F4pbAX6EyzEffaYHa8naG4APv27pp3kyxyT0uQie Oex0dUoMayycvS37133huk0tgYeaCXxAIAYblWJcILmtgmAfQos7xWq5JTQ9GKiJGlIg h9hw== MIME-Version: 1.0 X-Received: by 10.49.59.70 with SMTP id x6mr70242964qeq.17.1385586694077; Wed, 27 Nov 2013 13:11:34 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.53.200 with HTTP; Wed, 27 Nov 2013 13:11:34 -0800 (PST) In-Reply-To: References: Date: Wed, 27 Nov 2013 13:11:34 -0800 X-Google-Sender-Auth: yedOozHeIZMRG1FUsRDc87ibZyQ 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 21:11:35 -0000 Modify that function to print out keg->uk_name as well. -a On 27 November 2013 12:45, Craig Rodrigues wrote: > > > > On Wed, Nov 27, 2013 at 2:05 AM, Adrian Chadd wrote: >> >> Well, the first step is figuring out which UMA zones are actually >> problematic. Isn't it logging which zones aren't empty? > > > > The error messages on the console look like this: > > Freed UMA keg was not empty (203 items). Lost 1 pages of memory. > Freed UMA keg was not empty (36 items). Lost 2 pages of memory. > > > > That doesn't really tell which UMA zone isn't empty. > > Is there some technqiue to figure this out? I tried "vmstat -z" and > > "vmstat -m", but while those gave clues, it didn't point to which UMA zone > was leaking. > > > Is there some other technique or tool that I can use? > > -- > > Craig