Public bug reported:

After a couple of days of uptime, gvfsd-smb always runs out of file
descriptors for me.

Symptoms:
* nautilus will throw a "too many open files" error when trying to access a 
Samba share (even if already mounted).
* Saving files, e.g. LibreOffice, to a Samba share will fail. Unfortunately, 
this also applies to files that are already open. Have to save a copy somewhere 
else, nothing doing. For every open file, every time this happens. 
* Same for opening files from Samba shares, obviously.
* GVFS behaviour in general becomes erratic.
* Log spam that isn't caught by any rate limiting mechanisms. Think a /var/log 
hundreds of GB in size. Until / is full. That was fun. Things crashing and 
burning aside, poor NVMe ...

Workaround: Periodically killall gvfsd-smb.

This is a regular desktop, I mostly do office stuff, nothing that should
tax this subsystem at all. I might have 10 files on a Samba share open
concurrently sometimes, but the last couple of days it was more like 2
or 3.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gvfs-backends 1.48.2-0ubuntu1
ProcVersionSignature: Ubuntu 6.5.0-41.41.1~22.04.1-lowlatency 6.5.13
Uname: Linux 6.5.0-41-lowlatency x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Fri Jul 12 02:52:30 2024
InstallationDate: Installed on 2023-08-02 (344 days ago)
InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 
(20230223)
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: gvfs
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gvfs (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2072815

Title:
  gvfsd-smb keeps running out of file descriptors fast

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/2072815/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to