Still getting kmem exhausted panic

Willem Jan Withagen wjw at
Tue Sep 28 14:02:33 UTC 2010

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? :) -
> Search for "Memory and Dynamic Reconfiguration Recommendation"
> -
> 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
Version: GnuPG v1.4.10 (MingW32)


More information about the freebsd-stable mailing list