Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 2014 10:25:01 -0700
From:      Daniel Andersen <dea@caida.org>
To:        Bryan Drewery <bdrewery@FreeBSD.org>, freebsd-fs@freebsd.org
Subject:   Re: Process enters unkillable state and somewhat wedges zfs
Message-ID:  <53FB716D.1060007@caida.org>
In-Reply-To: <53F4E3C0.6000406@FreeBSD.org>
References:  <53F25402.1020907@caida.org> <53F4E3C0.6000406@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/20/2014 11:06 AM, Bryan Drewery wrote:
> On 8/18/2014 2:29 PM, Daniel Andersen wrote:
>> We are currently experiencing a strange problem that sort of locks up one of our zfs pools.  This is on a FreeBSD 10
>> machine.  Let me give a rough layout of our system to better describe what is happening:
> 
> When it happens get the output of 'procstat -kka|grep zfs' please.
> 

I'd read something about that while attempting to debug the last few times, so I happen to have that output, I believe.
Here are the last two examples ( the latter having had more wedged processes ):

    0 100687 kernel           zfs_vn_rele_task mi_switch+0xde sleepq_wait+0x3a _sleep+0x26f taskqueue_thread_loop+0xd5
fork_exit+0x9a fork_trampoline+0xe
    0 101055 kernel           zfs_vn_rele_task mi_switch+0xde sleepq_wait+0x3a _sleep+0x26f taskqueue_thread_loop+0xd5
fork_exit+0x9a fork_trampoline+0xe
   38 100306 zfskern          arc_reclaim_thre mi_switch+0xde sleepq_timedwait+0x3a _cv_timedwait_sbt+0x18d
arc_reclaim_thread+0x302 fork_exit+0x9a fork_trampoline+0xe
   38 100307 zfskern          l2arc_feed_threa mi_switch+0xde sleepq_timedwait+0x3a _cv_timedwait_sbt+0x18d
l2arc_feed_thread+0xb29 fork_exit+0x9a fork_trampoline+0xe
   38 100672 zfskern          trim tank        mi_switch+0xde sleepq_timedwait+0x3a _cv_timedwait_sbt+0x18d
trim_thread+0x9b fork_exit+0x9a fork_trampoline+0xe
   38 100688 zfskern          txg_thread_enter mi_switch+0xde sleepq_wait+0x3a _cv_wait+0x16d txg_quiesce_thread+0x30b
fork_exit+0x9a fork_trampoline+0xe
   38 100689 zfskern          txg_thread_enter mi_switch+0xde sleepq_timedwait+0x3a _cv_timedwait_sbt+0x18d
txg_sync_thread+0x1dd fork_exit+0x9a fork_trampoline+0xe
   38 101054 zfskern          trim work        mi_switch+0xde sleepq_timedwait+0x3a _cv_timedwait_sbt+0x18d
trim_thread+0x9b fork_exit+0x9a fork_trampoline+0xe
   38 101056 zfskern          txg_thread_enter mi_switch+0xde sleepq_wait+0x3a _cv_wait+0x16d txg_quiesce_thread+0x30b
fork_exit+0x9a fork_trampoline+0xe
   38 101057 zfskern          txg_thread_enter mi_switch+0xde sleepq_timedwait+0x3a _cv_timedwait_sbt+0x18d
txg_sync_thread+0x1dd fork_exit+0x9a fork_trampoline+0xe
16656 101610 ls               -                mi_switch+0xde sleepq_wait+0x3a sleeplk+0x11c __lockmgr_args+0x950
vop_stdlock+0x3c VOP_LOCK1_APV+0x9d _vn_lock+0x43 zfs_root+0x8f lookup+0x7f0 namei+0x504 kern_statat_vnhook+0xa5
sys_lstat+0x30 amd64_syscall+0x357 Xfast_syscall+0xfb


and

    0 100688 kernel           zfs_vn_rele_task mi_switch+0xde sleepq_wait+0x3a _sleep+0x26f taskqueue_thread_loop+0xd5
fork_exit+0x9a fork_trampoline+0xe
    0 101056 kernel           zfs_vn_rele_task mi_switch+0xde sleepq_wait+0x3a _sleep+0x26f taskqueue_thread_loop+0xd5
fork_exit+0x9a fork_trampoline+0xe
   38 100306 zfskern          arc_reclaim_thre mi_switch+0xde sleepq_timedwait+0x3a _cv_timedwait_sbt+0x18d
arc_reclaim_thread+0x302 fork_exit+0x9a fork_trampoline+0xe
   38 100307 zfskern          l2arc_feed_threa mi_switch+0xde sleepq_timedwait+0x3a _cv_timedwait_sbt+0x18d
l2arc_feed_thread+0xb29 fork_exit+0x9a fork_trampoline+0xe
   38 100673 zfskern          trim tank        mi_switch+0xde sleepq_timedwait+0x3a _cv_timedwait_sbt+0x18d
trim_thread+0x9b fork_exit+0x9a fork_trampoline+0xe
   38 100689 zfskern          txg_thread_enter mi_switch+0xde sleepq_wait+0x3a _cv_wait+0x16d txg_quiesce_thread+0x30b
fork_exit+0x9a fork_trampoline+0xe
   38 100690 zfskern          txg_thread_enter mi_switch+0xde sleepq_wait+0x3a _cv_wait+0x16d zio_wait+0x5b
vdev_uberblock_sync_list+0xad vdev_config_sync+0x118 spa_sync+0x827 txg_sync_thread+0x375 fork_exit+0x9a
fork_trampoline+0xe
   38 101055 zfskern          trim work        mi_switch+0xde sleepq_timedwait+0x3a _cv_timedwait_sbt+0x18d
trim_thread+0x9b fork_exit+0x9a fork_trampoline+0xe
   38 101057 zfskern          txg_thread_enter mi_switch+0xde sleepq_wait+0x3a _cv_wait+0x16d txg_quiesce_thread+0x30b
fork_exit+0x9a fork_trampoline+0xe
   38 101058 zfskern          txg_thread_enter mi_switch+0xde sleepq_timedwait+0x3a _cv_timedwait_sbt+0x18d
txg_sync_thread+0x1dd fork_exit+0x9a fork_trampoline+0xe
 2638 101160 nfsd             nfsd: service    mi_switch+0xde sleepq_wait+0x3a sleeplk+0x11c __lockmgr_args+0x950
vop_stdlock+0x3c VOP_LOCK1_APV+0x9d _vn_lock+0x43 zfs_vget+0xfe nullfs_vget+0x54 nfsrvd_readdirplus+0x905
nfsrvd_dorpc+0x773 nfssvc_program+0x4f6 svc_run_internal+0x1f9 svc_thread_start+0xb fork_exit+0x9a fork_trampoline+0xe
 3891 101641 collectd         -                mi_switch+0xde sleepq_wait+0x3a sleeplk+0x11c __lockmgr_args+0x950
vop_stdlock+0x3c VOP_LOCK1_APV+0x9d _vn_lock+0x43 zfs_root+0x8f lookup+0x7f0 namei+0x504 kern_statfs+0x6f
sys_statfs+0x2c amd64_syscall+0x357 Xfast_syscall+0xfb
11808 101802 sendsize         -                mi_switch+0xde sleepq_wait+0x3a sleeplk+0x11c __lockmgr_args+0x950
vop_stdlock+0x3c VOP_LOCK1_APV+0x9d _vn_lock+0x43 zfs_root+0x8f lookup+0x7f0 namei+0x504 kern_statat_vnhook+0xa5
sys_stat+0x2d amd64_syscall+0x357 Xfast_syscall+0xfb
13900 101899 sendsize         -                mi_switch+0xde sleepq_wait+0x3a sleeplk+0x11c __lockmgr_args+0x950
vop_stdlock+0x3c VOP_LOCK1_APV+0x9d _vn_lock+0x43 zfs_root+0x8f lookup+0x7f0 namei+0x504 kern_statat_vnhook+0xa5
sys_stat+0x2d amd64_syscall+0x357 Xfast_syscall+0xfb
17961 102536 df               -                mi_switch+0xde sleepq_wait+0x3a sleeplk+0x11c __lockmgr_args+0x950
vop_stdlock+0x3c VOP_LOCK1_APV+0x9d _vn_lock+0x43 zfs_root+0x8f lookup+0x7f0 namei+0x504 kern_statfs+0x6f
sys_statfs+0x2c amd64_syscall+0x357 Xfast_syscall+0xfb
38964 102279 ls               -                mi_switch+0xde sleepq_wait+0x3a sleeplk+0x11c __lockmgr_args+0x950
vop_stdlock+0x3c VOP_LOCK1_APV+0x9d _vn_lock+0x43 zfs_root+0x8f lookup+0x7f0 namei+0x504 kern_statat_vnhook+0xa5
sys_lstat+0x30 amd64_syscall+0x357 Xfast_syscall+0xfb
42315 102539 df               -                mi_switch+0xde sleepq_wait+0x3a sleeplk+0x11c __lockmgr_args+0x950
vop_stdlock+0x3c VOP_LOCK1_APV+0x9d _vn_lock+0x43 zfs_root+0x8f lookup+0x7f0 namei+0x504 kern_statfs+0x6f
sys_statfs+0x2c amd64_syscall+0x357 Xfast_syscall+0xfb
42335 101782 sendsize         -                mi_switch+0xde sleepq_wait+0x3a sleeplk+0x11c __lockmgr_args+0x950
vop_stdlock+0x3c VOP_LOCK1_APV+0x9d _vn_lock+0x43 zfs_root+0x8f lookup+0x7f0 namei+0x504 kern_statat_vnhook+0xa5
sys_stat+0x2d amd64_syscall+0x357 Xfast_syscall+0xfb




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