Vm_size warnings. Just had the 2.1.4 AMD64 crash.


  • Banned

    Aug 2 21:05:27 kernel: Consider tuning vm.kmem_size and vm.kmem_size_max
    Aug 2 21:05:27 kernel: ZFS WARNING: Recommended minimum kmem_size is 512MB; expect unstable behavior.

    It stopped routing until a hard reset and it came back online.

    /boot/loader.conf looks like this

    autoboot_delay="3"
    vm.kmem_size="435544320"
    vm.kmem_size_max="535544320"
    kern.ipc.nmbclusters="0"
    kern.hz=100
    vmblock_load="YES"
    vmmemct_load="YES"
    vmhgfs_load="YES"
    vmxnet_load="YES"
    hw.usb.no_pf="1"


  • Banned

    Changed the vm.kmem_size_max="535544320" to 536870912 and the error went away during boot.

    Now the logs shows this….

    Aug 2 22:32:47 kernel: ZFS storage pool version 28
    Aug 2 22:32:47 kernel: ZFS filesystem version 5
    Aug 2 22:32:47 kernel: to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf.
    Aug 2 22:32:47 kernel: ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present;
    Aug 2 22:32:47 kernel: Trying to mount root from ufs:/dev/da0s1a

    Before it was looking like this:

    Aug 2 21:38:51 kernel: ZFS storage pool version 28
    Aug 2 21:38:51 kernel: ZFS filesystem version 5
    Aug 2 21:38:51 kernel: in /boot/loader.conf.
    Aug 2 21:38:51 kernel: Consider tuning vm.kmem_size and vm.kmem_size_max
    Aug 2 21:38:51 kernel: ZFS WARNING: Recommended minimum kmem_size is 512MB; expect unstable behavior.
    Aug 2 21:38:51 kernel: to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf.
    Aug 2 21:38:51 kernel: ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present;
    Aug 2 21:38:51 kernel: Trying to mount root from ufs:/dev/da0s1a