Jump to content

vissha

Recommended Posts

Fix gvfsd-smb-browse Taking 100% CPU In Ubuntu 16.04

 

Brief: This quick tutorial shows the workaround for gvfsd-smb-browser taking 100% CPU in Ubuntu 16.04 and thus causing overheating.

 

A couple of months after installing Ubuntu 16.04, I noticed that suddenly my laptop was getting extremely overheated. I can hear it roaring despite that I have a high end, ultrabook.

 

As I had mentioned in the best practices to prevent overheating in Linux laptops, if your system is getting overheated suddenly, always check the processes running. You can do that by just running command top in a terminal.

 

When I used top in the terminal to see what’s going on with my Ubuntu 16.04 system, I noticed a strange process ‘gvfsd-smb-+’ consuming almost all of the CPU. This was the reason why my laptop was going nuts and overheating. The process is actually gvfsd-smb-browse, the extra + because the complete name did not fit in the terminal.

 

samba-cpu-consumption.png

 

Finding and killing processes in Linux is a piece of cake, so I killed the nasty process and everything was fine afterward. Or so I had thought.

 

But this nasty thing continued every time I logged into Ubuntu 16.04. If I tried to open an image, or played a file and sometimes just using Nautilus file manager would start gvfsd-smb-+ eating up all the CPU.

 

If your Ubuntu 16.04 is getting overheated as well, check if it is gvfsd-smb-browse that is causing the problem. If yes, let me show you a workaround to get rid of this issue.

 

Fix gvfsd-smb-browse taking 100% CPU in Ubuntu 16.04

 

This gvfsd-smb-+ is actually Samba, the tool that is used to share files on local network in Linux. I found that there is already a bug opened for this issue. While we wait for this bug to be fixed, let’s see a workaround to get rid of this issue.

 

What we are going to do here is to revoke permission on this process. With that, the process won’t run on its own as it would require sudo access.

 

Open a terminal and use the following command:

sudo chmod 744 /usr/lib/gvfs/gvfsd-smb-browse

 

Now when you restart your system and go into Nautilus and open files, gvfsd-smb-browse won’t be starting on its own anymore. That fixes our problem, isn’t it?

 

You could delete Samba altogether but I won’t advise that at all. I hope this little trick help you get rid of high CPU consumption by gvfsd-smb-browse and gives you a cooler Linux experience.

 

Source

Link to comment
Share on other sites


  • Views 963
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...