Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2013 12:59:16 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Kuang-che Wu <kuangche@gmail.com>
Cc:        freebsd-fs@FreeBSD.org
Subject:   Re: zfs dead lock
Message-ID:  <521F1B74.7020402@FreeBSD.org>
In-Reply-To: <CAOZYDX6FK0WcVqJZOLoWNb7P%2BwNEpt2oiLD2PMhDP27q5aLQsA@mail.gmail.com>
References:  <CAOZYDX6FK0WcVqJZOLoWNb7P%2BwNEpt2oiLD2PMhDP27q5aLQsA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
on 15/08/2013 21:36 Kuang-che Wu said the following:
> I suspect I encountered zfs deadlock yesterday.(According to
> https://wiki.freebsd.org/AvgZfsDeadlockDebug)
> Following is the report.
> 
> I have two zpool -- one is named zroot and the other is zdata. They are
> both raidz2 on same set of 6 disks.
> While zroot works well, any processes hang if they touch zdata.
> And those processes hang forever (at least more than half hours).
> 
> Before zdata hang, there are about 10 processes busy read/write to zdata.
> Their read/write patterns are linear read/write lots of large files.
> (download hundred MB files and calculate checksum)
> Average zpool write speed about 10MB/s.
> 
> In output of procstat, I found 8 processes have zio_wait + zio_done in
> stacks and this is very
> likely a ZFS deadlock according to the wiki page.
> 
> 
> System: FreeBSD kcwu.csie.org 10.0-CURRENT FreeBSD 10.0-CURRENT #5 b37d7ce:
> Tue Jul 30 21:25:46 CST 2013 root@kcwu.csie.org:/usr/obj/usr/src/sys/DESKTOP
> amd64
> 
> 
> 
> procstat log and boot dmesg are attached.
> 
> Please let me know if you need more information.

Thank you very much for the report!  And sorry for the delay.
Do you still have this locked up system?
Or are you able to reproduce the lock up?
I would like to examine some things with kgdb.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?521F1B74.7020402>