Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Aug 2011 23:02:29 +0100
From:      Luke Marsden <luke@hybrid-logic.co.uk>
To:        Martin Matuska <mm@FreeBSD.org>
Cc:        freebsd-fs@freebsd.org, tech@hybrid-logic.co.uk
Subject:   Re: ZFS hang in production on 8.2-RELEASE
Message-ID:  <1314655349.7898.53.camel@pow>
In-Reply-To: <4E5BFC6F.5080507@FreeBSD.org>
References:  <1314646728.7898.44.camel@pow> <CAFqOu6gHvwxiOkFZ0Enh3VRHcs3aD=gH4u_6=XuhfYXg5NnkpQ@mail.gmail.com> <4E5BFC6F.5080507@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2011-08-29 at 22:54 +0200, Martin Matuska wrote:
> >> procstat -kk on the zfskern process gives:
> >>
> >>  PID    TID COMM             TDNAME
> >> KSTACK
> >>    5 100045 zfskern          arc_reclaim_thre mi_switch+0x176
> >> sleepq_timedwait+0x42 _cv_timedwait+0x134 arc_reclaim_thread+0x2a9
> >> fork_exit+0x118 fork_trampoline+0xe
> >>    5 100046 zfskern          l2arc_feed_threa mi_switch+0x176
> >> sleepq_timedwait+0x42 _cv_timedwait+0x134 l2arc_feed_thread+0x1ce
> >> fork_exit+0x118 fork_trampoline+0xe
> >>    5 100098 zfskern          txg_thread_enter mi_switch+0x176
> >> sleepq_wait+0x42 _cv_wait+0x129 txg_thread_wait+0x79 txg_quiesce_thread
> >> +0xb5 fork_exit+0x118 fork_trampoline+0xe
> >>    5 100099 zfskern          txg_thread_enter mi_switch+0x176
> >> sleepq_timedwait+0x42 _cv_timedwait+0x134 txg_thread_wait+0x3c
> >> txg_sync_thread+0x365 fork_exit+0x118 fork_trampoline+0xe
> >>
> >> Any ideas on what might be causing this?
> > It sounds like the bug Martin Matuska has recently fixed in FreeBSD
> > and reported upstream to Illumos:
> > https://www.illumos.org/issues/1313
> >
> > The fix has been MFC'ed to 8-STABLE r224647 on Aug 4th.
> >
> > --Artem
> No, I think this is more likely fixed by pjd's bugfix in r224791 (MFC'ed
> to stable/8 as r225100).
> 
> The corresponding patch is:
> http://people.freebsd.org/~pjd/patches/zfsdev_state_lock.patch
> 

Great, thanks!  Will this patch apply to ZFS v15?  We can't upgrade to
v28 yet.

-- 
Best Regards,
Luke Marsden
CTO, Hybrid Logic Ltd.

Web: http://www.hybrid-cluster.com/
Hybrid Web Cluster - cloud web hosting

Mobile: +1-415-449-1165 (US) / +447791750420 (UK)





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