Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Vm_size warnings. Just had the 2.1.4 AMD64 crash.

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 1 Posters 1.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Supermule Banned
      last edited by

      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"

      1 Reply Last reply Reply Quote 0
      • S
        Supermule Banned
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.