vm.kmem_size settings doesn't affect loader?

Bartosz Stec admin at kkip.pl
Thu Sep 25 10:27:01 UTC 2008

Today I've experienced zfs-related kernel panic. Log says:

    savecore: reboot after panic: kmem_malloc(131072): kmem_map too
    small: 327684096 total allocated

Reported amount of memory (327684096) is wrong, because i made suggested 
tuning in my loader.conf:


Just to be sure:

    # sysctl vm | grep kmem
    vm.kmem_size: 536870912
    vm.kmem_size_min: 0
    vm.kmem_size_max: 536870912
    vm.kmem_size_scale: 3

Am I missing something?

Bartosz Stec 

More information about the freebsd-stable mailing list