I don't know if I have the exact same problem, but in my case it is because 
gvfs-smb-browse  tries to access a samba server (first problem is why does it 
try to contact it, I never browse samba shares) using ipv6
When gvfs-smb-browse uses the whole cpu core I can run a : 
netstat -laputenW | grep gvfs
And see that gvfs is trying to contact an ipv6 address

I reproduced it at home (16.04) and at work (14.04, happens since a recent 
update, did not happen last month for example) :
- at home it tries to connect to the samba share of my internet box / router, 
using its public ipv6 address, so this will never ever work
- at work it tries to connect to some co workers windows 10 share, using local 
ipv6 addresses 

I have solved my problem by :
- at home, using google ipv6 dns, that way gvfs can't get the ipv6 of my 
internet box and won't try to connect to it
- at work I just disabled ipv6 (switched to local link iirc)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/1572260

Title:
  gvfs-smb-browse hogs CPU after only opening nautilus

Status in gvfs package in Ubuntu:
  Confirmed

Bug description:
  upgraded to 16.04 from 15.10 
  - the process in subject hogs 25% CPU after only starting nautilus, and keeps 
hogging it "forever"   - no samba browsing needed.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: gvfs-backends 1.28.1-1ubuntu1
  ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
  Uname: Linux 4.4.0-18-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Apr 19 20:03:12 2016
  EcryptfsInUse: Yes
  ExecutablePath: /usr/lib/gvfs/gvfsd-smb-browse
  InstallationDate: Installed on 2012-10-15 (1281 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121015.2)
  ProcEnviron:
   XDG_RUNTIME_DIR=<set>
   SHELL=/bin/bash
   LANGUAGE=en_US
   PATH=(custom, user)
   LANG=en_US.UTF-8
  SourcePackage: gvfs
  UpgradeStatus: Upgraded to xenial on 2016-04-06 (13 days ago)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to