Re: ZFS kmem_map too small.

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Tue, 6 Nov 2007 13:55:03 +0100
On Tue, Nov 06, 2007 at 11:20:34AM +0100, Borja Marcos wrote:
> 
> On Nov 6, 2007, at 11:00 AM, Pawel Jakub Dawidek wrote:
> 
> >>The machine has 6 hard disks configured as a raidz2 pool.
> >>
> >>Please let me know of any test anyone might need.
> >
> >If you use vm_kern.c.2.patch, can you show loader.conf and exact  
> >command
> >that can provke the panic?
> 
> loader.conf:
> zfs_load="YES"
> vfs.root.mountfrom="zfs:pool/root"
> vm.kmem_size_max="1610612736"
> vm.kmem_size="1610612736"
> 
> Y bumped up the vnodes as well, as suggested at the ZFS tuning Wiki.
> 
> (/etc/sysctl.conf)
> kern.maxvnodes: 400000

The Wiki should be changed. Allow ZFS to autotune it, don't tune it by
hand.

> Anything else? (I just don't want to spam a big message with kernel  
> config, etc)

I asked about exact command to trigger the panic.

> When I did the tests I did not have a swap partition configured, but I  
> guess it shouldn't be
> related (4 GB is plenty of memory). Anyway I'm going to try again with  
> a swap partition today.
> (_Not_ on ZFS) so that I can get a kernel dump as well.

Yes, do not use swap on ZFS.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd_at_FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

Received on Tue Nov 06 2007 - 11:55:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:21 UTC