Re: ZFS with compression causes deadlock
> Today I had deadlock on several machines. Almost all processes stucked in
> [tx->tx_cpu[c].tc_lock]. Machines were helped only `reboot -n'.
> I've created new gzip-ed filesystem a few days ago. I didn't have any
> problems with ZFS before.
>
> System was built from svn://svn.freebsd.org/base/stable/8@215508.
> Machines have 24Gb RAM, 4 SATA 500Gb disks in raidz.
>
> loader.conf:
> ahci_load=3D"YES"
> zfs_load=3D"YES"
> vfs.zfs.arc_max=3D"2G"
> vfs.zfs.cache_flush_disable=3D"1" # default: 0
> vfs.zfs.prefetch_disable=3D"1" =A0 =A0# default: 0
> vfs.zfs.txg.timeout=3D"5" =A0 =A0 =A0 =A0 # default: 30
> vfs.zfs.zio.use_uma=3D"0" =A0 =A0 =A0 =A0 # default: 0 (earlier was 1)
Have you tried to remove vfs.zfs.* in rc.conf? Newer versions of zfs
may not need tuning except in specific cases now.
I've had problems using compression in (much) earlier zfs-versions
some years ago and avoided this feature. A few days ago I've setup
FreeBSD current with zfs. ver. 28 and enabled compression and have
performed a zfs receive with approx. 660 GB of data that boils down to
350 GB without problems.
--=20
regards
Claus
When lenity and cruelty play for a kingdom,
the gentler gamester is the soonest winner.
Shakespeare
twitter.com/kometen
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 2 之 4 篇):