Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Sep 2010 17:25:39 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        Willem Jan Withagen <wjw@digiware.nl>
Cc:        stable@freebsd.org, fs@freebsd.org
Subject:   Re: Still getting kmem exhausted panic
Message-ID:  <4CA1FAE3.9090200@icyb.net.ua>
In-Reply-To: <4CA1F6FD.5090807@digiware.nl>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CA1FAE3.9090200>