Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 2014 09:36:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 194479] New: many file i/o operations hanging: softdepflush, suspfs
Message-ID:  <bug-194479-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194479

            Bug ID: 194479
           Summary: many file i/o operations hanging: softdepflush, suspfs
           Product: Base System
           Version: 10.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: kalten@gmx.at

I think, this problem may have to do with the kernel:

(May be closed Bug 149022 has to do with it?)

I was building packages in poudriere when I noticed, that write operations =
in
emacs hung. Audio files are still being read from disk (musicpd running) fr=
om
another mount point (/usr) than the mount point poudriere resides on
(/MOUNTER/ufs_D2 which is at 93% according to df(1)).
A ls(1) on the mount point of poudriere (/MOUNTER/ufs_D2) has just stuck to=
o.

I had a look at poudrieres shell, and it is stuck at
---8<---
=3D=3D=3D=3D>> Starting/Cloning builders
--->8---

Hitting ^t leads to:
---8<---
load: 0.16  cmd: sh 98249 [suspfs] 755.26r 0.00u 0.00s 0% 784k
--->8---
According to ps(1) the PID 98249 belonges to /usr/local/share/poudriere/bul=
k.sh
(same with the mentioned ls: [suspfs])

ps auxww | grep -E "(^USER|suspfs|softdepflush|dup)"
---8<---
USER         PID  %CPU %MEM     VSZ     RSS TT  STAT STARTED        TIME
COMMAND
root          19   1.2  0.0       0      16  -  DL    9Oct14     0:54.63
[softdepflush]
root       97052   0.0  0.0   14756    2020 25  IN+  10:30AM     0:00.96 cp=
dup
-x /usr/local/poudriere/data/build/100amd64-default/ref
/MOUNTER/ufs_D2/poudriere/poudriere/data/build/100amd64-default/02
root       97053   0.0  0.0   14756    1964 25  DN+  10:30AM     0:00.84 cp=
dup
-x /usr/local/poudriere/data/build/100amd64-default/ref
/MOUNTER/ufs_D2/poudriere/poudriere/data/build/100amd64-default/03
root       97054   0.0  0.0   14756    1936 25  IN+  10:30AM     0:00.84 cp=
dup
-x /usr/local/poudriere/data/build/100amd64-default/ref
/MOUNTER/ufs_D2/poudriere/poudriere/data/build/100amd64-default/01
--->8---

top tells me when hitting =E2=80=9Cm=E2=80=9D:
---8<---
PID USERNAME     VCSW  IVCSW   READ  WRITE  FAULT  TOTAL PERCENT COMMAND
 19 root           28      0      0     24      0     24  92.31% softdepflu=
sh
--->8---

tunefs -p /MOUNTER/ufs_D2
---8<---
tunefs: POSIX.1e ACLs: (-a)                                disabled
tunefs: NFSv4 ACLs: (-N)                                   enabled
tunefs: MAC multilabel: (-l)                               enabled
tunefs: soft updates: (-n)                                 enabled
tunefs: soft update journaling: (-j)                       enabled
tunefs: gjournal: (-J)                                     disabled
tunefs: trim: (-t)                                         disabled
tunefs: maximum blocks per file in a cylinder group: (-e)  2048
tunefs: average file size: (-f)                            16384
tunefs: average number of files in a directory: (-s)       64
tunefs: minimum percentage of free space: (-m)             8%
tunefs: space to hold for metadata blocks: (-k)            0
tunefs: optimization preference: (-o)                      time
tunefs: volume label: (-L)                                 ufsD2
--->8---

sync(8) does not help either. I can not kill the cpdup commands, etc.
I am stuck with reboot. :-(

ru,
 Kalten

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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