ZFS hang in production on 8.2-RELEASE

Luke Marsden luke at hybrid-logic.co.uk
Mon Aug 29 22:02:34 UTC 2011


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)




More information about the freebsd-fs mailing list