ZFS with compression causes deadlock

Andrey Zonov andrey at zonov.org
Tue Apr 5 19:15:11 UTC 2011


Hi,

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.

zfs list:
NAME                  USED  AVAIL  REFER  MOUNTPOINT
place                 373G   982G  83.0G  /place
place/gzip            290G   982G   290G  /place/gzip
root                  723M  1.25G   722M  legacy
var                  9.90M   974M  9.77M  /var

loader.conf:
ahci_load="YES"
zfs_load="YES"
vfs.zfs.arc_max="2G"
vfs.zfs.cache_flush_disable="1" # default: 0
vfs.zfs.prefetch_disable="1"    # default: 0
vfs.zfs.txg.timeout="5"         # default: 30
vfs.zfs.zio.use_uma="0"         # default: 0 (earlier was 1)

Can anyone help me to find a problem?

-- 
Andrey Zonov



More information about the freebsd-stable mailing list