From owner-freebsd-stable@FreeBSD.ORG Tue Sep 28 14:02:33 2010 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DD92106567A; Tue, 28 Sep 2010 14:02:33 +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 721E38FC15; Tue, 28 Sep 2010 14:02:32 +0000 (UTC) Received: from localhost (localhost.digiware.nl [127.0.0.1]) by mail.digiware.nl (Postfix) with ESMTP id C4C7515346A; Tue, 28 Sep 2010 16:02:31 +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 WAt0f0YQumbi; Tue, 28 Sep 2010 16:02:25 +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 9B7D215346C; Tue, 28 Sep 2010 16:02:25 +0200 (CEST) Message-ID: <4CA1F570.6000602@digiware.nl> Date: Tue, 28 Sep 2010 16:02:24 +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> In-Reply-To: <4CA1F1B4.1020700@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, Jeremy Chadwick Subject: Re: Still getting kmem exhausted panic 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, 28 Sep 2010 14:02:33 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 28-9-2010 15:46, Andriy Gapon wrote: > on 28/09/2010 16:25 Willem Jan Withagen said the following: >> Well advises seem to vary, and the latest I understood was that >> 8.1-stable did not need any tuning. (The other system with a much >> older kernel is tuned as to what most here are suggesting) And I >> was shure led to believe that even since 8.0 panics were no longer >> among us...... > > Well, now you have demonstrated yourself that it is not always so. I thought I should share the knowledge. ;) Which is not a bad thing ofr those (starting to) use ZFS. I do not read commits, but do read a lot of FreeBSD groups. And for me there is still a shroud of black art over ZFS. Just glad that my main fileserver doesn't crash. (knock on wood). >>> vm.kmem_size vfs.zfs.arc_max >> >> real memory = 12889096192 (12292 MB) avail memory = 12408684544 >> (11833 MB) >> >> So that prompts vm.kmem_size=18G. >> >> Form the other post: >>> As to arc_max/arc_min, set them based your needs according to >>> general ZFS recommendations. >> >> I'm seriously at a loss what general recommendations would be. > > Have you asked Mr. Google? :) - > http://www.solarisinternals.com/wiki/index.php/ZFS_Best_Practices_Guide > > Search for "Memory and Dynamic Reconfiguration Recommendation" > - > http://www.solarisinternals.com/wiki/index.php/ZFS_Evil_Tuning_Guide#Limiting_the_ARC_Cache > > Short version - decide how much memory you need for everything else > but ZFS ARC. > If autotuned value suits you, then you don't need to change > anything. 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. - --WjW -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJMofVwAAoJEP4k4K6R6rBhFaUH/3wahrGWO71+xBhHi/ayNoaf DfbOWMD262XfualJudPRgoji7xb9lGaRmd4emv7QBcDjqzmcsiyIeXskT5IYKj7P DvJDULIH66iKQrRZeIBouMXMhLfiLjjT85Lj1hE8fuGg8NAOv97dnUwvVIwC0/Ai yzeeEHYivCYbRmzBhISlAWjdpSXk7xVs6gZnaLUUp953+Uv/8KmNLeG+laoWn+Hn wdKHUG3kR0g/XwJIMc5dZzYvs2kdDPh47uLythoYGC0yaLCwtxLHqEGIPtb/Gypy nIIWxOGtueJo2HjpS0+HlX/pTRW8tfYzXTzKgFKDd90t9fDt2p18BPSexuJSLVc= =hSAg -----END PGP SIGNATURE-----