From owner-freebsd-hackers@FreeBSD.ORG Sun Apr 4 12:26:49 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F2B4106566C for ; Sun, 4 Apr 2010 12:26:49 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-ew0-f224.google.com (mail-ew0-f224.google.com [209.85.219.224]) by mx1.freebsd.org (Postfix) with ESMTP id ADCEB8FC1C for ; Sun, 4 Apr 2010 12:26:48 +0000 (UTC) Received: by ewy24 with SMTP id 24so870675ewy.33 for ; Sun, 04 Apr 2010 05:26:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:to:cc:subject:references :organization:from:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=ZWu0dNt4cX59WiieikDrFXd9MSoc4k9thYb9PXcJln4=; b=tvMPc+RmkUCkqB5TjzcQeusCHjLEfxMWZL5soEPcNk93rxlB/Dm6GLek1QR0d4yc6t 4SO+wwmwluh7YtL+Nld/IlUL4t86hl/6X5cRvTlltrTrlVVklWTMBIb7wnIpeuChjbVS 6WTuC/FRofw3TtKXDDfirWhKiygNb8FpMoHlg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=to:cc:subject:references:organization:from:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=VEyeoHc6tFVo5Bsg9CjoGsBWDCm1kf8KkSC7JullmO3UUoAAyXdAvxhEKPszDihuqE ODLz4ZQRj8UI7vahsvJasTPpEJG1jTU9c/nVc31eqjcIjurYYb35jGgMwOsRxfi4bt6h jAq8+2lvLOXmENQElUWT8vBzZBL31r8SCbin0= Received: by 10.213.110.135 with SMTP id n7mr2323375ebp.58.1270384007573; Sun, 04 Apr 2010 05:26:47 -0700 (PDT) Received: from localhost ([95.69.160.61]) by mx.google.com with ESMTPS id 14sm5931093ewy.2.2010.04.04.05.26.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 04 Apr 2010 05:26:45 -0700 (PDT) To: Kostik Belousov References: <20100402190239.GL2415@deviant.kiev.zoral.com.ua> <20100403165238.GO2415@deviant.kiev.zoral.com.ua> Organization: TOA Ukraine From: Mikolaj Golub Date: Sun, 04 Apr 2010 15:26:43 +0300 In-Reply-To: <20100403165238.GO2415@deviant.kiev.zoral.com.ua> (Kostik Belousov's message of "Sat\, 3 Apr 2010 19\:52\:38 +0300") Message-ID: <86ljd3mmik.fsf@kopusha.onet> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-hackers@freebsd.org, Petr Salinger Subject: Re: leak of the vnodes X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Apr 2010 12:26:49 -0000 On Sat, 3 Apr 2010 19:52:38 +0300 Kostik Belousov wrote: > Then, after you determined the problematic mp, reboot the machine, > redo the procedure causing leak. From ddb prompt, you can do "show mount", > find the mp, then do "show mount ". The later command shall > produce really large output, listing all mp vnodes, so serial console > or firewire can be useful. Put output somewhere. Or use ddb capture buffer :-). In ddb: capture on capture off continue And then ddb capture print > capture.out Make sure your capture buffer is large enough (I have in my /etc/sysctl.conf debug.ddb.capture.bufsize=5242880). -- Mikolaj Golub