Everyone tries to keep their servers and workstations up as long as possible. However, you do need to reboot your computer to check the file system thoroughly and to clear any cache or temporary files that are in a hung state.
Force your system to run fsck on your file systems during the next reboot. In order to do this, you need to create a file called “forcefsck” in your root “/” folder.
Open up Terminal and type :
sudo touch /forcefsck Hit the Enter key
sudo shutdown -r now Hit the Enter key
Be patient while your file system is checked.