Linux NFS development
 help / color / mirror / Atom feed
From: kenneth johansson <ken@kenjo.org>
To: nfs@lists.sourceforge.net
Subject: lockd loacked in D state
Date: Wed, 22 Aug 2007 09:20:27 +0000 (UTC)	[thread overview]
Message-ID: <fagv4r$v79$1@sea.gmane.org> (raw)

Iam running linux 2.6.22.3 on an UP server and after some time lockd 
stops to respond and I need to restart the server. 

I turned on some debugging and got this almost directly. lockd is still 
working at this point.

I have not tried to decode this printout myself yet. My plan was to wait 
for the next lockup and do a sysrq-t to see where lockd was doing. 

--------------------------
 369.860671] 
[  369.860677] =======================================================
[  369.860771] [ INFO: possible circular locking dependency detected ]
[  369.860819] 2.6.22.3 #7
[  369.860861] -------------------------------------------------------
[  369.860908] lockd/2432 is trying to acquire lock:
[  369.860953]  (&file->f_mutex){--..}, at: [<c03b723c>] mutex_lock
+0x1c/0x20
[  369.861125] 
[  369.861126] but task is already holding lock:
[  369.861207]  (nlm_host_mutex){--..}, at: [<c03b723c>] mutex_lock
+0x1c/0x20
[  369.861372] 
[  369.861373] which lock already depends on the new lock.
[  369.861375] 
[  369.861494] 
[  369.861495] the existing dependency chain (in reverse order) is:
[  369.861579] 
[  369.861580] -> #1 (nlm_host_mutex){--..}:
[  369.861748]        [<c0135d4d>] __lock_acquire+0xdad/0xf60
[  369.862028]        [<c0135f55>] lock_acquire+0x55/0x70
[  369.862305]        [<c03b6ff9>] __mutex_lock_slowpath+0x69/0x290
[  369.862583]        [<c03b723c>] mutex_lock+0x1c/0x20
[  369.862858]        [<c023f561>] nlm_lookup_host+0x31/0x310
[  369.863142]        [<c023f874>] nlmsvc_lookup_host+0x34/0x40
[  369.863419]        [<c02414b5>] nlmsvc_lock+0x125/0x360
[  369.863696]        [<c024562c>] nlm4svc_proc_lock+0x7c/0x110
[  369.863976]        [<c03a4740>] svc_process+0x680/0x730
[  369.864257]        [<c0240166>] lockd+0x106/0x240
[  369.864534]        [<c0104b43>] kernel_thread_helper+0x7/0x14
[  369.864813]        [<ffffffff>] 0xffffffff
[  369.865092] 
[  369.865093] -> #0 (&file->f_mutex){--..}:
[  369.865261]        [<c0135bc7>] __lock_acquire+0xc27/0xf60
[  369.865538]        [<c0135f55>] lock_acquire+0x55/0x70
[  369.865813]        [<c03b6ff9>] __mutex_lock_slowpath+0x69/0x290
[  369.866090]        [<c03b723c>] mutex_lock+0x1c/0x20
[  369.866365]        [<c02411c9>] nlmsvc_traverse_blocks+0x29/0xa0
[  369.866644]        [<c02425fe>] nlm_traverse_files+0x6e/0x210
[  369.866920]        [<c024282b>] nlmsvc_mark_resources+0x1b/0x30
[  369.867197]        [<c023f02e>] nlm_gc_hosts+0x4e/0x1e0
[  369.867473]        [<c023f576>] nlm_lookup_host+0x46/0x310
[  369.867750]        [<c023f874>] nlmsvc_lookup_host+0x34/0x40
[  369.868027]        [<c024506b>] nlm4svc_retrieve_args+0x3b/0xd0
[  369.868304]        [<c0245607>] nlm4svc_proc_lock+0x57/0x110
[  369.868580]        [<c03a4740>] svc_process+0x680/0x730
[  369.868856]        [<c0240166>] lockd+0x106/0x240
[  369.869132]        [<c0104b43>] kernel_thread_helper+0x7/0x14
[  369.869408]        [<ffffffff>] 0xffffffff
[  369.869682] 
[  369.869683] other info that might help us debug this:
[  369.869685] 
[  369.869806] 1 lock held by lockd/2432:
[  369.869848]  #0:  (nlm_host_mutex){--..}, at: [<c03b723c>] mutex_lock
+0x1c/0x20
[  369.870050] 
[  369.870051] stack backtrace:
[  369.870132]  [<c0104eca>] show_trace_log_lvl+0x1a/0x30
[  369.870207]  [<c0105a02>] show_trace+0x12/0x20
[  369.870282]  [<c0105a75>] dump_stack+0x15/0x20
[  369.870357]  [<c0133d6c>] print_circular_bug_tail+0x6c/0x80
[  369.870433]  [<c0135bc7>] __lock_acquire+0xc27/0xf60
[  369.870508]  [<c0135f55>] lock_acquire+0x55/0x70
[  369.870582]  [<c03b6ff9>] __mutex_lock_slowpath+0x69/0x290
[  369.870658]  [<c03b723c>] mutex_lock+0x1c/0x20
[  369.870732]  [<c02411c9>] nlmsvc_traverse_blocks+0x29/0xa0
[  369.870808]  [<c02425fe>] nlm_traverse_files+0x6e/0x210
[  369.870883]  [<c024282b>] nlmsvc_mark_resources+0x1b/0x30
[  369.870959]  [<c023f02e>] nlm_gc_hosts+0x4e/0x1e0
[  369.871034]  [<c023f576>] nlm_lookup_host+0x46/0x310
[  369.871109]  [<c023f874>] nlmsvc_lookup_host+0x34/0x40
[  369.871185]  [<c024506b>] nlm4svc_retrieve_args+0x3b/0xd0
[  369.871261]  [<c0245607>] nlm4svc_proc_lock+0x57/0x110
[  369.871336]  [<c03a4740>] svc_process+0x680/0x730
[  369.871411]  [<c0240166>] lockd+0x106/0x240
[  369.871486]  [<c0104b43>] kernel_thread_helper+0x7/0x14
[  369.871561]  =======================


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

             reply	other threads:[~2007-08-22  9:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-22  9:20 kenneth johansson [this message]
2007-09-11  9:25 ` lockd loacked in D state kenneth johansson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='fagv4r$v79$1@sea.gmane.org' \
    --to=ken@kenjo.org \
    --cc=nfs@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox