[Bug 194479] New: many file i/o operations hanging: softdepflush, suspfs

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 20 09:36:42 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194479

            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 at FreeBSD.org
          Reporter: kalten at 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) from
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 too.

I had a look at poudrieres shell, and it is stuck at
---8<---
====>> 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/bulk.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 cpdup
-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 cpdup
-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 cpdup
-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 “m”:
---8<---
PID USERNAME     VCSW  IVCSW   READ  WRITE  FAULT  TOTAL PERCENT COMMAND
 19 root           28      0      0     24      0     24  92.31% softdepflush
--->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

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


More information about the freebsd-bugs mailing list