gvfsd-smb keeps running out of file descriptors fast

Bug #2072815 reported by Christian Pernegger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
New
Undecided
Unassigned

Bug Description

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)

Revision history for this message
Christian Pernegger (fallenguru) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.