Memory allocation problems (ZFS/NFS/amd64)

Kris Kennaway kris at FreeBSD.org
Thu Sep 20 01:37:59 PDT 2007


Borja Marcos wrote:
> 
> On 19 Sep 2007, at 19:35, Ivan Voras wrote:
> 
>> Borja Marcos wrote:
>>
>>> These are not innocuous messages, the machine is rejecting connections
>>> like crazy. Any ideas?
>>> The number of established TCP connections was around 490, and the
>>> machine has 2 GB of RAM.
>>
>> Just a guess: what is your vm.kmem_size_max and have you tried
>> increasing it?
> 
> It's the first thing I thought, and I cranked it to a very high value 
> just in case:
> 
> vm.kmem_size_max: 1073741824

You actually wanted to tune vm.kmem_size too or it may not actually 
change the value used (_max is just a ceiling for autotuning).  However 
if this is i386 you can't set it that high without also adjusting 
KVA_PAGES too (which has other effects).

Kris



More information about the freebsd-current mailing list