Still getting kmem exhausted panic

Willem Jan Withagen wjw at digiware.nl
Tue Sep 28 14:30:28 UTC 2010


-----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-----


More information about the freebsd-fs mailing list