[Bug 1409032] Re: gvfsd-smb: very high CPU utilisation
Brett Bogert
bbogert24 at gmail.com
Sat Jun 4 20:12:33 UTC 2016
After not be satisfied with any of the above workarounds to the problem
I decided to take a look at the problem and see if I could come up with
a "cleaner" workaround or fix.
I found that this problem occurs in Ubuntu 16.04 with Unity Gnome 3.18
GnomeShell Gnome 3.20, Budgie Gnome 3.18 and Fedora 24 Beta.
After some troubleshooting I found the following solution that does
not require changing executable permissions or removing packages:
1- Make a backup copy of the smb.conf file in /etc/samba.
2- Edit the /etc/samba/smb.conf file using your favorite editor
and add the following line under the "[global]" statement:
name resolve order = wins lmhosts bcast
The file should look like this:
[global]
name resolve order = wins lmhosts bcast
3- Save the file and reboot.
The problem should be fixed and you should notice that the
"Network" Icon and label shows up much quicker in your
file browser than before and the 100% CPU usage is gone.
Hope this helps.
--
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