From owner-freebsd-current@FreeBSD.ORG Mon Dec 10 17:51:33 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 199F716A41B for ; Mon, 10 Dec 2007 17:51:33 +0000 (UTC) (envelope-from biancalana@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.189]) by mx1.freebsd.org (Postfix) with ESMTP id DB20E13C455 for ; Mon, 10 Dec 2007 17:51:32 +0000 (UTC) (envelope-from biancalana@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so1855873rvb for ; Mon, 10 Dec 2007 09:51:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=pNaHaokQAciohtN0zjM0ximnTd6h/eNLXCqMUsb6U9U=; b=GWwrxdlbK7WQyDm6pzY6ZZW9jYiFyMOsfXP69cEmR2Ph8lFbCX6rKJEuRRncfb6DRu30CQ3aUAAcv6N8AikDOPn6/qYrtWG3fSsi/t5aBynA7DZ63che2DXDcMr4g+4zkNRflbbD0s3qt1+gQQdITiLOGIuHDagTGQsO0jCDPMM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gMR62saMry63B1qEWrWqjgwpuTLi+JTxgMy2n7AtTNOh7yAB7M7kF6Lcj9THIipkiyeMZ2Px2qyQkpccPfTKKkKMj5fEvHtJsDGKVzA3KZ3xrLoXTnQHrDgxJ1aOrD5Y+QxHo2+FeiGAL7HRHhzM7k9kwW8W3yO1HbF9C4zWN78= Received: by 10.141.71.11 with SMTP id y11mr1206511rvk.1197309092203; Mon, 10 Dec 2007 09:51:32 -0800 (PST) Received: by 10.64.184.9 with HTTP; Mon, 10 Dec 2007 09:51:32 -0800 (PST) Message-ID: <8e10486b0712100951m85f0278neb73ac4277779ba4@mail.gmail.com> Date: Mon, 10 Dec 2007 15:51:32 -0200 From: "Alexandre Biancalana" To: "Michael Haro" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8e10486b0711280537n222d6cd5le33639b82a11f45@mail.gmail.com> <8e10486b0711290637u711c67b3i17925777e4481346@mail.gmail.com> <8e10486b0711300247q4438235ata70ca42030871286@mail.gmail.com> <20071130124801.74c40ef9@peedub.jennejohn.org> <8e10486b0712040521u5c7015b8h86d0da5554162898@mail.gmail.com> <47556554.3010505@clearchain.com> <8e10486b0712040719ydcf32e0mbe690c3f18968691@mail.gmail.com> <8e10486b0712100523k45c61865v7821d0522ad5f994@mail.gmail.com> Cc: freebsd-current@freebsd.org, Benjamin Close Subject: Re: 7-BETA3 everyday reboot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Dec 2007 17:51:33 -0000 On 12/10/07, Michael Haro wrote: > > > > On 12/10/07, Alexandre Biancalana wrote: > > On 12/7/07, Michael Haro wrote: > > > > > > > > > > > I have found that turning off zil and prefetch seem to keep things > > > > > happier on one of the heavily loaded servers that I look after. > > > > > It also appears to prevent a deadlock under very heavy load - > something > > > > > I've not yet had time to debug. > > > > > Try adding: > > > > > > > > > > vfs.zfs.zil_disable=1 > > > > > vfs.zfs.prefetch_disable="1" > > > > > > > > > > to /boot/loader.conf > > > > > > > > > > and let us know if it makes a difference. > > > > > > > > Added now only > > > > > > > > vfs.zfs.prefetch_disable="1" > > > > > > > > > > > > I let you know the result. > > > > > > Is the result promising? > > > > > > > > Yes ! The machine does not reboot anymore ! > > What combination of settings did you have to do to make it stable? I tried > setting vfs.zfs.prefetch_disable="1' in loader.conf and my machine still > panics within 20 minutes during (I think) large file transfers. > Here is my /boot/loader.conf: kern.maxdsiz="2G" # Set the max data size to 4GB kern.maxssiz="1G" # Set the max stack size 2GB vfs.zfs.prefetch_disable="1" vfs.zfs.arc_max="1G" vm.kmem_size_max="1500M" vm.kmem_size="1500M" kern.ipc.nmbclusters="32768"