[Bug 214976] SMBFS-mount hangs indefinitely when opening many files at once

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 1 11:10:07 UTC 2016


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

            Bug ID: 214976
           Summary: SMBFS-mount hangs indefinitely when opening many files
                    at once
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: alexander.klein at physiologie.med.uni-giessen.de
                CC: freebsd-i386 at FreeBSD.org
                CC: freebsd-i386 at FreeBSD.org

On my system, issuing

for file in *.JPG; do nice -19 display -resize 25% $file &; done

in a directory on an SMBFS-mount with some 80 files produces a number of
processes which only run for a fraction of a second and then all get stuck:

% ps
 PID TT  STAT    TIME COMMAND
2069  1  DNL  0:00,27 display -resize 25% 1.JPG
2070  1  DNL  0:00,26 display -resize 25% 2.JPG
2071  1  DNL  0:00,27 display -resize 25% 3.JPG
[…]

The processes cannot be killed, and all further file operations on the same
mount, even umount -f, will get stuck, too.

Even worse, this problem even manages to make clean rebooting impossible, and I
have to use reboot -q instead.

It might date back as far as 2005, see:

https://lists.freebsd.org/pipermail/freebsd-questions/2005-October/101035.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-i386 mailing list