Date: Tue, 28 Sep 2010 16:30:22 +0200 From: Willem Jan Withagen <wjw@digiware.nl> To: Andriy Gapon <avg@icyb.net.ua> Cc: stable@freebsd.org, fs@freebsd.org, Jeremy Chadwick <freebsd@jdc.parodius.com> Subject: Re: Still getting kmem exhausted panic Message-ID: <4CA1FBFE.3020107@digiware.nl> In-Reply-To: <4CA1FAE3.9090200@icyb.net.ua> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CA1FBFE.3020107>