gvfsd-smb keeps running out of file descriptors fast
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
ProcVersionSign
Uname: Linux 6.5.0-41-lowlatency x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckR
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)