From owner-freebsd-stable@FreeBSD.ORG Thu Oct 15 01:15:14 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0A8D106566B for ; Thu, 15 Oct 2009 01:15:14 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 5530F8FC1C for ; Thu, 15 Oct 2009 01:15:14 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so122613qwd.7 for ; Wed, 14 Oct 2009 18:15:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:in-reply-to:message-id:references:user-agent :x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; bh=zQ1chPmXiWhcnxkRCkYFa/FFGhseZ2c37OJh3QgweOA=; b=sjHGzuVI0G6T8X5x2zFjCFyrRLViBDcTFQ5w9GvxWdmpF/PKMLGWUvDlVOIiLzLzzC i6lJrsZtXSEnWcJPP1R+9q+wZHSVC8iSBpOpx/+4enqNkOjl4tnd1dECgEBQH3qN0mi5 rbjGECBdDVYegl3twJyMEtgrKRa+d3CKWwiTg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; b=WkPE75CD48AVEajnar8/eBruQjCXSiBlMOCdI7noeV1ftbCZ1F1I0dHUyvcbWKUWsw adJM7pZTL5zEUvJYsxzjiIlVBma2xkthOQiizPJr7Zi7U3wqfV2EgI1q7/XeHf2LceNK rYvukdEd4Kj2SyIlr4AuXJH5L87l/WSx1nI6w= Received: by 10.224.100.13 with SMTP id w13mr7706460qan.292.1255569313522; Wed, 14 Oct 2009 18:15:13 -0700 (PDT) Received: from dimension.5p.local (adsl-99-19-46-209.dsl.klmzmi.sbcglobal.net [99.19.46.209]) by mx.google.com with ESMTPS id 6sm7812506qwd.45.2009.10.14.18.15.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 14 Oct 2009 18:15:11 -0700 (PDT) Sender: "J. Hellenthal" Date: Wed, 14 Oct 2009 21:15:09 -0400 From: jhell To: grarpamp In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-fs@freebsd.org, freebsd-stable@freebsd.org Subject: re: ZFS repeatable reboot 8.0-RC1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Oct 2009 01:15:14 -0000 On Wed, 14 Oct 2009 18:55, grarpamp@ wrote: > Happened again :) So some more notes... > > Watched it this time, it jumped from about 29xMiB straight to 366MiB, > then hung and rebooted itself. > > The first zpool import after reboot takes about a minute more than > the usual ten seconds to import. And uses up to maybe 125MiB instead > of maybe 40MiB. Could be ZFS fscking itself? Second and further > manual reboots are all normal speed and mem use. > > The fs is fine, I can do all sorts of normal ops on it. Even rm -r > , ^C after a few seconds, and repeat ad nauseum until the > tree is removed. Only continuous rm -r reboots. > > I have 1 more GiB RAM I can put in. > > Sorry to break threads, I'm not on list. > Your machine is starving! what you can do to improve upon performance of the pool is add a separate disk to the machine in which you can configure your ZIL(ZFS Intent Log) and a Cache. Those two things can improve greatly upon performance and reduce eating up so much ram that your system starts to starve itself. Add that other 1G of RAM if you have it just sitting around then put it to good use it will certainly help. The disk that your doing your remove operation on ? is that being done on a ZFS GELI ? PS: You can use thumb drives as caches and intent logs but beware I have had them stop and disappear in my system to only appear again on reboot. -- ;; dataix.net!jhell 2048R/89D8547E 2009-09-30 ;; BSD since FreeBSD 4.2 Linux since Slackware 2.1 ;; 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E