Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Nov 2007 07:36:01 +0100
From:      Martijn Plak <martijn@plak.net>
To:        Pawel Jakub Dawidek <pjd@freebsd.org>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: ZFS kmem_map too small.
Message-ID:  <A6EC4B67-1F5B-4FA2-BF11-8194EB768C36@plak.net>
In-Reply-To: <20071107170147.GN15618@garage.freebsd.pl>
References:  <20071005000046.GC92272@garage.freebsd.pl> <20071008121523.GM2327@garage.freebsd.pl> <20071105215035.GC26730@heff.fud.org.nz> <2e77fc10711051531k41e7224dq6aaedb35cad8d9f2@mail.gmail.com> <6214AB9C-9F9B-4B9D-8B05-0B3DF5F6C16D@SARENET.ES> <20071106100015.GB5268@garage.freebsd.pl> <9A147CEC-D5E6-4117-8C69-16E40DB45B22@SARENET.ES> <20071106125552.GO5268@garage.freebsd.pl> <5ED261E6-A85A-4D7D-A01A-4688802FECB9@plak.net> <20071107170147.GN15618@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
>> === cat /boot/loader.conf
>> # Load ZFS and load root system from the RAID-Z array.
>> zfs_load="YES"
>> vfs.root.mountfrom="zfs:raid/sys/root"
>>
>> # Tune ZFS and VM parameters.
>> #vfs.zfs.arc_max="64M"
>> #kern.maxvnodes="50000"
>> #vm.kmem_size_max="512M"
>> #vm.kmem_size="512M"
>> === sysctl vm | grep kmem
>> vm.kmem_size_scale: 3
>> vm.kmem_size_max: 335544320
>> vm.kmem_size_min: 0
>> vm.kmem_size: 335544320
>
> The only tuning that is needed (and ZFS will warn now about this) is
> vm.kmem_size/vm.kmem_size_max. Can you set those back to 512M and  
> retry?

I set the vm.kmem_size and vm.kmem_size_max values back to 512M and  
rebooted.

After about 7 hours, during the second "make buildworld" in parallel  
with additional network and disk activity, the machine experienced a  
kmem_map too small panic again.

This time, the machine hung, no crash dump was available.

Do you want me to update the kernel sources? I'm using Nov 5 sources  
at the moment. 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A6EC4B67-1F5B-4FA2-BF11-8194EB768C36>