Bug 214976 - SMBFS-mount hangs indefinitely when opening many files at once
Summary: SMBFS-mount hangs indefinitely when opening many files at once
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.3-RELEASE
Hardware: i386 Any
: --- Affects Some People
Assignee: freebsd-fs (Nobody)
Depends on:
Reported: 2016-12-01 11:10 UTC by Alexander Klein
Modified: 2016-12-10 03:28 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Klein 2016-12-01 11:10:07 UTC
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
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: