From owner-freebsd-stable@FreeBSD.ORG Tue Apr 8 07:55:27 2008 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 A3740106564A; Tue, 8 Apr 2008 07:55:27 +0000 (UTC) (envelope-from johan@headweb.com) Received: from core.stromnet.se (core.stromnet.se [83.218.84.131]) by mx1.freebsd.org (Postfix) with ESMTP id 5CC908FC29; Tue, 8 Apr 2008 07:55:27 +0000 (UTC) (envelope-from johan@headweb.com) Received: from localhost (core.stromnet.se [83.218.84.131]) by core.stromnet.se (Postfix) with ESMTP id 9A0CFD4640C; Tue, 8 Apr 2008 09:55:26 +0200 (CEST) X-Virus-Scanned: amavisd-new at stromnet.se Received: from core.stromnet.se ([83.218.84.131]) by localhost (core.stromnet.se [83.218.84.135]) (amavisd-new, port 10024) with ESMTP id IawDjCJo1AZA; Tue, 8 Apr 2008 09:55:22 +0200 (CEST) Received: from johan-mp.stromnet.se (90-224-172-102-no129.tbcn.telia.com [90.224.172.102]) by core.stromnet.se (Postfix) with ESMTP id CB8A4D46405; Tue, 8 Apr 2008 09:55:22 +0200 (CEST) Message-Id: <3886278B-F65A-44BD-8307-C9889727FEA3@headweb.com> From: =?ISO-8859-1?Q?Johan_Str=F6m?= To: d@delphij.net In-Reply-To: <47FB2155.1030106@delphij.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Tue, 8 Apr 2008 09:55:22 +0200 References: <0B67CBBD-11CB-44C2-807D-5F00654CDD35@headweb.com> <47FB2155.1030106@delphij.net> X-Mailer: Apple Mail (2.919.2) Cc: freebsd-fs@freebsd.org, freebsd-stable@freebsd.org Subject: Re: ZFS deadlock 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: Tue, 08 Apr 2008 07:55:27 -0000 On Apr 8, 2008, at 9:40 AM, LI Xin wrote: > For your question: just reboot would be fine, you may want to tune > your arc size (to be smaller) and kmem space (to be larger), which > would reduce the chance that this would happen, or eliminate it, > depending on your workload. Back online now, with kmem/kmem_max to 1G and arcsize to 512M. Are those reasonable on a 2G machine? I think I've read that from somewhere, but cannot find that (arc at least) in the TuningGuide now. > > This situation is not recoverable and you can trust ZFS that you > will not lose data if they are already sync'ed. > Actually, I've had a lot of hard crashes lately on this machine (bad hw) but not a single time I have lost data (to my knowledge at least...). In that regard, comparing to UFS, ZFS is waaay better! :) > -- > Xin LI http://www.delphij.net/ > FreeBSD - The Power to Serve! >