Date: Wed, 18 May 2011 08:58:37 +0300 From: Andriy Gapon <avg@FreeBSD.org> To: Charles Sprickman <spork@bway.net> Cc: stable@FreeBSD.org, Jeremy Chadwick <freebsd@jdc.parodius.com> Subject: Re: 8.1R possible zfs snapshot livelock? Message-ID: <4DD3600D.6000709@FreeBSD.org> In-Reply-To: <alpine.OSX.2.00.1105172136120.1983@hotlap.nat.fasttrackmonkey.com> References: <alpine.OSX.2.00.1105170120510.1983@hotlap.nat.fasttrackmonkey.com> <20110517073029.GA44359@icarus.home.lan> <4DD25264.8040305@FreeBSD.org> <20110517112952.GA48610@icarus.home.lan> <4DD2624A.9080708@FreeBSD.org> <20110517122323.GA49650@icarus.home.lan> <4DD26C49.4010108@FreeBSD.org> <alpine.OSX.2.00.1105172136120.1983@hotlap.nat.fasttrackmonkey.com>
next in thread | previous in thread | raw e-mail | index | archive | help
on 18/05/2011 04:49 Charles Sprickman said the following: > On Tue, 17 May 2011, Andriy Gapon wrote: >> Less drastic approach to hanged I/O debugging is to find out where >> processes/threads are actually stuck. E.g. using procstat -kk. > > Odd you say that because we've got an old 32-bit 8.1 box that's running > spamassassin and some devel stuff that looks like it's getting a little wedged: > > PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND > 6 root 4 -8 - 0K 36K tx->tx 126.0H 76.37% zfskern > > And I'm not sure "procstat" is meant for this, but the output is interesting: It is. > [root@h22 /home/spork]# procstat -k 6 > PID TID COMM TDNAME KSTACK > 6 100053 zfskern arc_reclaim_thre mi_switch sleepq_switch > sleepq_timedwait _cv_timedwait arc_reclaim_thread fork_exit fork_trampoline > 6 100054 zfskern l2arc_feed_threa mi_switch sleepq_switch > sleepq_timedwait _cv_timedwait l2arc_feed_thread fork_exit fork_trampoline > 6 100093 zfskern txg_thread_enter mi_switch sleepq_switch > sleepq_wait _cv_wait txg_thread_wait txg_quiesce_thread fork_exit fork_trampoline > 6 100094 zfskern txg_thread_enter mi_switch sleepq_switch > sleepq_timedwait _cv_timedwait txg_thread_wait txg_sync_thread fork_exit > fork_trampoline This looks completely normal. -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DD3600D.6000709>