Hello all,
I'm a Linux/Solaris convert here trying out BSD for the first time. I've a file server I'm trying to get setup with ZFS on root. I followed this guide https://www.dan.me.uk/blog/2010/02/08/booting-from-zfs-raid0156-in-freebsd/
Install went fine without any issues and I began the work of setting up services and restoring data from backups. However 30 minutes later I got that lovely kernel panic in the subject. A quick search told me ZFS uses a lot of kernel memory and I can allocate more by changing loader.conf. I've 8GB memory total in this box so I went ahead and gave the kernel 2gb of memory, thinking that'll solve it for good.
Restarted and I began the work of moving over data, but 8 hours later I get this.
So, the kernel went through all 2g of allocated memory! 
Now, I could allocate even more, but I've the feeling there is a leak and all I'll get is just more time before the next crash.
I really do want to stick with FreeBSD, any suggestions?
I'm running 8.1 release 64bit.
I'm a Linux/Solaris convert here trying out BSD for the first time. I've a file server I'm trying to get setup with ZFS on root. I followed this guide https://www.dan.me.uk/blog/2010/02/08/booting-from-zfs-raid0156-in-freebsd/
Install went fine without any issues and I began the work of setting up services and restoring data from backups. However 30 minutes later I got that lovely kernel panic in the subject. A quick search told me ZFS uses a lot of kernel memory and I can allocate more by changing loader.conf. I've 8GB memory total in this box so I went ahead and gave the kernel 2gb of memory, thinking that'll solve it for good.
Code:
vm.kmem_size_max="2040M"
vm.kmem_size="2048M"
vm.zfs.arc_max="512M"
Restarted and I began the work of moving over data, but 8 hours later I get this.
Code:
Kernel Panic: Kmem_malloc(110592): kmem_map too small: 2180715000

Now, I could allocate even more, but I've the feeling there is a leak and all I'll get is just more time before the next crash.
I really do want to stick with FreeBSD, any suggestions?
I'm running 8.1 release 64bit.