Closed codutti closed 10 years ago
It is a known issue that the kernel memory allocator will just panic, rather than give us a chance to clean up. This is one of the reasons the ARC max size is so small on OSX. I would suggest you tune it even smaller to avoid these panics.
You should see a message like this when starting ZFS:
ZFS: ARC limit set to (arc_c_max): 268435456
So to set the same limit use
sysctl -w zfs.arc_max=268435456
We also have git branch "bmalloc" which uses an alternate allocator which do not have the limits imposed on us, it will become the "server" version.
Thanks for the quick answer. I've updated my startup script to execute the sysctl command with my arc_c_max value. Let me test it for a few days and I'll tell if the problem is resolved. One more question: When the server package will be released I'll be able to upgrade from desktop or I'll be forced to uninstall the desktop package?
The bmalloc branch (as of 31 march) works great with the vnode_threadX branch (before 29 march), even with , for example, sysctl -w zfs.arc_max=4000000000, which kills the master branch dead.
Why not make the bmalloc slice allocator the default ?
That of course is the plan once it has received more testing.
As for vnode_threadX, it's already merged back to master.
@rottegift FYI, we've decided not to use the vnode_threadX changes and instead put in guard rails to prevent the reclaim list from growing too long. You should move to master.
On 2 Apr, 2014, at 10:54, ilovezfs notifications@github.com wrote:
@rottegift FYI, we've decided not to use the vnode_threadX changes and instead put in guard rails to prevent the reclaim list from growing too long. You should move to master.
Done. Master+bmalloc is up and running fine.
@rottegift Great.
Today and Yesterday I've received two panics. The second one produced this report:
I was copying about 1TB of data from a single disk (JHFS+) on a zdev (JHFS+ formatted) in a raidz1 pool. The platform is a Mac mini with Mavericks 10.9.2 updated. The ZFS package installed is 1.2.0 from o3x.org. The panic report details all my hardware, if you need other information I'll provide it happily.
Michele