Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Oct 2013 21:10:55 +0200
From:      =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= <olivier@cochard.me>
To:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Process stuck in D+ state
Message-ID:  <CA%2Bq%2BTcpjzGTbV70BmgasrHNfnZ11_L8Ru2V_9zEvs4oA-bQ=Cg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I've got a frequent problem on my desktop (FreeBSD 10.0-ALPHA5 #8 r256200):
After few hours I can't acces to one of my folder: A simple "ls" in
this folder stucks, and all filesystem information started after (df,
fstat) stuck too in D+.

SIGINFO report this usage for these processes:

load: 0.15  cmd: ls 15716 [rpcrecon] 217.89r 0.00u 0.00s 0% 2440k
load: 0.34  cmd: ls 15716 [connec] 2376.60r 0.00u 0.00s 0% 0k
load: 0.40  cmd: ls 15716 [connec] 2379.80r 0.00u 0.00s 0% 0k
load: 0.40  cmd: ls 15716 [connec] 2379.92r 0.00u 0.00s 0% 0k
load: 0.37  cmd: ls 15716 [rpcrecon] 2850.26r 0.00u 0.00s 0% 0k
load: 0.37  cmd: ls 15716 [rpcrecon] 2850.39r 0.00u 0.00s 0% 0k

load: 0.40  cmd: fstat 15781 [rpcrecon] 2842.08r 0.00u 0.01s 0% 0k
load: 0.21  cmd: fstat 15781 [rpcrecon] 2879.35r 0.00u 0.01s 0% 0k
load: 0.21  cmd: fstat 15781 [rpcrecon] 2879.48r 0.00u 0.01s 0% 0k
load: 0.21  cmd: fstat 15781 [rpcrecon] 2879.63r 0.00u 0.01s 0% 0k

load: 0.24  cmd: df 15919 [connec] 1047.98r 0.00u 0.00s 0% 0k
load: 0.22  cmd: df 15919 [connec] 1054.22r 0.00u 0.00s 0% 0k

and the PS status:

olivier    15919   0.0  0.0   14400     16  7  D+    7:06PM     0:00.01 df -h
olivier    15781   0.0  0.0   20708     16  6  D+    6:26PM     0:00.02 fstat
olivier    15651   0.0  0.0   16784     16  4  D+    6:25PM     0:00.00 ls

My desktop use a geli system and JSU, nothing special, here are the mount point:
/dev/ada1p3.eli on / (ufs, local, noatime, journaled soft-updates)
devfs on /dev (devfs, local, multilabel)
/dev/gpt/boot on /boot2 (ufs, local, noatime, soft-updates)

What kind of commands can I use for getting more troubleshooting
information next time ?

Thanks



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2Bq%2BTcpjzGTbV70BmgasrHNfnZ11_L8Ru2V_9zEvs4oA-bQ=Cg>