From owner-freebsd-fs@FreeBSD.ORG Tue Sep 28 14:30:28 2010 Return-Path: Delivered-To: fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFA661065675; Tue, 28 Sep 2010 14:30:28 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from mail.digiware.nl (mail.ip6.digiware.nl [IPv6:2001:4cb8:1:106::2]) by mx1.freebsd.org (Postfix) with ESMTP id 395C28FC13; Tue, 28 Sep 2010 14:30:28 +0000 (UTC) Received: from localhost (localhost.digiware.nl [127.0.0.1]) by mail.digiware.nl (Postfix) with ESMTP id 09F23153433; Tue, 28 Sep 2010 16:30:27 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.nl Received: from mail.digiware.nl ([127.0.0.1]) by localhost (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I07McwiaIwDQ; Tue, 28 Sep 2010 16:30:24 +0200 (CEST) Received: from [127.0.0.1] (unknown [192.168.254.10]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.digiware.nl (Postfix) with ESMTPSA id 87AB3153435; Tue, 28 Sep 2010 16:30:23 +0200 (CEST) Message-ID: <4CA1FBFE.3020107@digiware.nl> Date: Tue, 28 Sep 2010 16:30:22 +0200 From: Willem Jan Withagen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.9) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4 MIME-Version: 1.0 To: Andriy Gapon References: <4CA1D06C.9050305@digiware.nl> <20100928115047.GA62142@icarus.home.lan> <4CA1ECCC.4070801@digiware.nl> <4CA1F1B4.1020700@icyb.net.ua> <4CA1F570.6000602@digiware.nl> <4CA1F6A0.20109@icyb.net.ua> <4CA1F6FD.5090807@digiware.nl> <4CA1FAE3.9090200@icyb.net.ua> In-Reply-To: <4CA1FAE3.9090200@icyb.net.ua> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: stable@freebsd.org, fs@freebsd.org Subject: Re: Still getting kmem exhausted panic X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2010 14:30:28 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 28-9-2010 16:25, Andriy Gapon wrote: > on 28/09/2010 17:09 Willem Jan Withagen said the following: >> On 28-9-2010 16:07, Andriy Gapon wrote: >>> on 28/09/2010 17:02 Willem Jan Withagen said the following: >>>> I do have (read) this document, but still that doesn't really give you >>>> guidelines for tuning on FreeBSD. It is a fileserver without any serious >>>> other apps. >>>> I was using "auto-tuned", and that crashed my box. That is what started >>>> this whole thread. >> >>> Well, as I've said, in my opinion FreeBSD-specific tuning ends at setting kmem size. >> >> >> I consider that a useful statement. > > Hm, looks like I've just given a bad advice. > It seems that auto-tuned arc_max is based on kmem size. > So if you use kmem size that is larger than available physical memory, then you > better limit arc_max to the available memory minus 1GB or so, if the autotuned > value is larger than that. > > I think this needs to be fixed in the code. So in my case (no other serious apps) with 12G phys mem: vm.kmem_size=17G vfs.zfs.arc_max=11G - --WjW -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJMofv9AAoJEP4k4K6R6rBhrksH/0L7EP9oSi4hhITZTB0uIk8q 0IEKnc2ltnPUSFJXS9wP1r9iLzNFJJXGqrO1ZvZUFcJeXXwSzSjhD+zbd237yf/r f5nQ7yBNPd7MxZlZjDkIXB9ZJYuE1u0KMfuQSxptzOWB7oin8MpXHa1YdX6CVE7A 3+hSykteHFFqs8qwUSzoUs47r0dW2WxXE2qAEurelL6VFn++K86d32F5WNv/SX4u aN43r+/CgrjiJVNrxG+gchoicEnIaI90jepkjzpEMp8M85VF4skIZbflZrSSNheY Wzi4LD2h8dFf/La+9EB5AYkMgRcTvXcgNkppIsZ94nf7oSyYNZFuxLYC3ilQetY= =WYzV -----END PGP SIGNATURE-----