ZFS kmem_map too small.

Borja Marcos BORJAMAR at SARENET.ES
Tue Nov 6 02:21:05 PST 2007


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



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

I don't have a fancy config as far as I know. I'm running the latest  
FreeBSD 7-BETA, amd64,
and the machine has 4 GB of memory. It's a Dell Poweredge 2950, I'm  
using the mfi passthough
devices as disks (I don't want to use the disk array functionality it  
provides),

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.

Thank you very much,







Borja.




> ----------------

"The thing he realised about the windows was this: because they had  
been converted into openable windows after they had first been  
designed to be impregnable, they were, in fact, much less secure than  
if they had been designed as openable windows in the first place."
    Douglas Adams, "Mostly Harmless"





More information about the freebsd-current mailing list