gvfd-smb is spinning at close 100% CPU and spamming journald

Bug #2004125 reported by Matthieu Patou
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
New
Undecided
Unassigned

Bug Description

On my laptop running Jammy the gvfd-smb process is consuming close to 100% CPU:
    PID UTIL. PR NI VIRT RES SHR S %CPU %MEM TEMPS+ COM.
 302018 mat 20 0 528384 14632 10068 R 100.0 0.1 2450:01 gvfsd-smb
   5741 mat 20 0 6882616 391964 112368 S 15.0 2.5 311:46.31 gnome-shell

I'm getting a ton of entries in systemd's user journal like:
Jan 29 14:03:33 artemis gvfsd[302018]: (process:302018): GLib-GIO-WARNING **: 22:03:33.113: fail: Erreur d’acceptation de la connexion : Trop de fichiers ouverts
(error connecting too many open files)
journalctl |grep 'Jan 29 14:03:33' |wc -l returns 517 lines !

Seems highly similar to the bug reported here: https://gitlab.gnome.org/GNOME/gvfs/-/issues/542.

The number of opened files is >1024:
ls -l /proc/302018/fd | wc => 1025

I'm using the following versions:
dpkg -l | grep vfs
ii gvfs:amd64 1.48.2-0ubuntu1 amd64 userspace virtual filesystem - GIO module
ii gvfs-backends 1.48.2-0ubuntu1 amd64 userspace virtual filesystem - backends
ii gvfs-common 1.48.2-0ubuntu1 all userspace virtual filesystem - common data files
ii gvfs-daemons 1.48.2-0ubuntu1 amd64 userspace virtual filesystem - servers
ii gvfs-fuse 1.48.2-0ubuntu1 amd64 userspace virtual filesystem - fuse server
ii gvfs-libs:amd64 1.48.2-0ubuntu1 amd64 userspace virtual filesystem - private libraries

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.