From owner-freebsd-stable@FreeBSD.ORG Tue Apr 8 14:57:03 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 2FD261065671 for ; Tue, 8 Apr 2008 14:57:03 +0000 (UTC) (envelope-from ender@enderzone.com) Received: from www.ksdhost.com (www.ksdhost.com [75.126.66.82]) by mx1.freebsd.org (Postfix) with ESMTP id D54D48FC33 for ; Tue, 8 Apr 2008 14:57:02 +0000 (UTC) (envelope-from ender@enderzone.com) Received: (qmail 25229 invoked from network); 8 Apr 2008 10:30:21 -0400 Received: from unknown (HELO ?192.168.1.6?) (206.48.228.163) by www.ksdhost.com with SMTP; 8 Apr 2008 10:30:21 -0400 Message-ID: <47FB7355.4060802@enderzone.com> Date: Tue, 08 Apr 2008 09:29:57 -0400 From: Ender User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Johan_Str=F6m?= References: <0B67CBBD-11CB-44C2-807D-5F00654CDD35@headweb.com> <47FB2155.1030106@delphij.net> <3886278B-F65A-44BD-8307-C9889727FEA3@headweb.com> In-Reply-To: <3886278B-F65A-44BD-8307-C9889727FEA3@headweb.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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 14:57:03 -0000 Johan Ström wrote: > 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. > Depending on your work load you are just buying more time, so "reasonable" is a matter of perspective. :( I didn't see if you said you are on 32bit or 64bit? Keep in mind the kmem max is 1.5-2G on amd64 regardless of how much memory you have. If 512M arcsize crashes too soon for your tastes you can always lower it down to 256M, or 128M, etc.