[Bug 1409032] Re: gvfsd-smb: very high CPU utilisation

David Chatterton dmchatterton at theiet.org
Thu May 19 14:08:02 UTC 2016


I have found this bug on several computers running Ubuntu 16.04 and
Raspberry Pi 2s and a 3 running Ubuntu MATE 16.04. With a quad core CPU,
gvsfd-smb-browse seems to consume 100% of one of the cores.

On a Dell XPS13 laptop, this causes the cooling fan to come on. On the
Raspberry Pi 2 and 3, it uses up excessive CPU resources preventing some
processor-intensive apps from running properly and contributing to the
CPU temperature rise.

The solution that I have used is to remove the execute permission from
the file as follows - execute from the terminal: sudo chmod 744
/usr/lib/gvfs/gvfsd-smb-browse

This seems to prevent the rogue file from running and appears to have no
detrimental affect on the running of the operating systems.

Perhaps we can have a permanent solution implemented in the next Xenial
software upgrade.

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

Title:
  gvfsd-smb: very high CPU utilisation

Status in gvfs package in Ubuntu:
  Confirmed
Status in samba package in Ubuntu:
  Confirmed
Status in samba package in Fedora:
  Unknown

Bug description:
  Example:

  I use Virtualbox and mount a .vdi on an SMB server. Using gvfsd-smb
  (browsing within Gnome to find the share), gvfsd-smb uses up to 50%
  CPU which slows down the entire system when accessing the network
  share. Mounting using sudo ($ sudo mount -t smbfs -o
  guest,nounix,noperm //server/share /media/share) so that cifs is used
  uses around 8% CPU. The difference is dramatic!

  If I didn't have sudo access my machine would grind to a halt when
  trying to use the remote share.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: gvfs-backends 1.12.1-0ubuntu1.2
  ProcVersionSignature: Ubuntu 3.11.0-26.45~precise1-generic 3.11.10.12
  Uname: Linux 3.11.0-26-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu17.8
  Architecture: i386
  Date: Fri Jan  9 14:32:20 2015
  MarkForUpload: True
  ProcEnviron:
   LANGUAGE=en_GB:en
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: gvfs
  UpgradeStatus: Upgraded to precise on 2014-12-07 (33 days ago)

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



More information about the foundations-bugs mailing list