Bug 202903
Summary: | CIFS Mounts mounts hang for a few minutes (Send error in Close ... Server has not responded in 120 seconds ...) | ||
---|---|---|---|
Product: | File System | Reporter: | t.wede |
Component: | CIFS | Assignee: | fs_cifs (fs_cifs) |
Status: | NEW --- | ||
Severity: | high | CC: | as9902613, d.haemmerle, ferry.toth, randall, smfrench, swapnilnshelar, t.wede |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 5.0.1 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
t.wede
2019-03-13 12:34:43 UTC
What is server type? Samba? Mac? Windows? NetApp or EMC filer? Azure Cloud? Target server is Samba 4.2.4 on openSuse 13.1 (currently kernel 4.20.13). It seems to be the same as https://bugzilla.kernel.org/show_bug.cgi?id=198349 . Me too. Problem started after updating client to Ubuntu 19.03 (kernel 5.0.0), host is on Ubuntu 18.04 (kernel 4.15). I have mount options: rw,relatime,vers=1.0,cache=strict,username=ferry,uid=1001,forceuid,gid=1001,forcegid,addr=192.168.1.19,soft,unix,posixpaths,mapchars,nobrl,cifsacl,acl,rsize=1048576,wsize=65536,bsize=1048576,echo_interval=60,actimeo=1 notably vers=1.0, same as reporter. I get send error -5 and -9. It seems to be triggered when saving a file from Libreoffice, which then hangs, and so does my file manager Dolphin (which is active on the share). After a while (some minutes) saving the file completes. Today I found that opening a 2nd Dolphin stopped the hang. But now the only error messages were: [ 2579.253316] CIFS VFS: Server ATHINA has not responded in 120 seconds. Reconnecting... [ 2588.792276] Leaked POSIX lock on dev=0x0:0x3c ino=0x14fd fl_owner=00000000ca8b4012 fl_flags=0x1 fl_type=0x1 fl_pid=5348 The hang is most often triggered by Libreoffice, I don't know what that application does exactly. But I can confirm that when using Ubuntu's kernel 5.0.0-19 the problem occurs and that falling back to Ubuntu's 4.15.0-1043-oem the problem goes away (so this is a workaround that does not require user to build kernels), just install the package). Also it may be that this bug is a duplicate of 202611. If so, 202611 may have a patch available. Hi I have the exact same problem, this is a backup server with minimal centos 8 fully updated at October 28th, 2019 kernel 4.18 samba kernel: CIFS VFS: Server 192.168.13.15 has not responded in 120 seconds. Reconnecting... the server stops answering network requests, not even ping not LibreOffice, not even GUI samba packages installed: samba-common-libs-4.9.1-8.el8.x86_64 samba-client-4.9.1-8.el8.x86_64 samba-common-4.9.1-8.el8.noarch samba-client-libs-4.9.1-8.el8.x86_64 for what i read it happens on ubuntu, opensuse, centos 8 thanks I am getting the same error as well. First of all, browsing windows shared folders with KDE Dolphin is very slow and then when you edit a document on a mounted windows shared folder with LibreOffice and save it, it hangs at about 15% of of saving the file. JournalCTL showed these errors: Aug 24 10:17:01 DevBox kernel: CIFS: VFS: \\10.xxx.xxx.xxx has not responded in 180 seconds. Reconnecting... Aug 24 10:17:02 DevBox kernel: CIFS: Status code returned 0xc00000d0 STATUS_REQUEST_NOT_ACCEPTED Aug 24 10:17:02 DevBox kernel: CIFS: VFS: \\10.xxx.xxx.xxx Send error in SessSetup = -5 Aug 24 10:18:02 DevBox kernel: INFO: task soffice.bin:445274 blocked for more than 1105 seconds. Aug 24 10:18:02 DevBox kernel: Not tainted 5.18.17-1-MANJARO #1 Aug 24 10:18:02 DevBox kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. Aug 24 10:18:02 DevBox kernel: task:soffice.bin state:D stack: 0 pid:445274 ppid:445273 flags:0x0000> **Please escalate this bug to CRITICAL since data is being lost. You can't even kill LibreOffice or shutdown the PC. Hard reset by holding down the power button for more than 4 seconds is the only way to recover from the situation. |