Breve: This quick tutorial shows the workaround for gvfsd-smb-browser taking 100% CPU en 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 sistema, 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.
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. En caso afirmativo, let me show you a workaround to get rid of this issue.
Fix gvfsd-smb-browse taking 100% CPU en 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. Con ese, the process won’t run on its own as it would require sudo access.
Abrir un terminal y utilizar el siguiente comando:
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, ¿no es así?
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.
Si tiene preguntas o sugerencias, feel free to drop a comment in the section below.