Ubuntu – Nautilus not starting promptly

16.0420.04nautilus

Rarely but very annoyingly Nautilus will stop responding from the Launcher. I have experienced this on two very different machines: a rack server (dual SSD, RAID 1, 8 real threads) as well as a notebook (single SSD, 4 thread, 8 hyperthread).

The busy icon will be displayed and Nautilus will not start. On the server, eventually Nautilus will work, perhaps 30 seconds later. On the notebook it didn't work after 30 seconds so I rebooted.

When this happens there is nothing else going on that can account for the sluggishness.

Sometimes the problem persists indefinitely, that is, until reboot.

What is the fix for this problem?

Edit: This is probably relevant:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1569970

Edit This problem was first noticed with 16.04 and it is still a problem with 20.04. This problem is seen on machines set with swapping disabled or swappiness set to the very lowest possible value.

Best Answer

Try to reinstall Nautilus

Here is how to do it:

sudo apt autoremove nautilus
sudo apt install nautilus
Related Question