Created
May 10, 2018 09:41
-
-
Save fcsonline/ab69e80014760cba76bc0587df912de8 to your computer and use it in GitHub Desktop.
Disable mlocate un Ubuntu (100% CPU and 100% IO problems)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo chmod -x /etc/cron.daily/mlocate | |
sudo dpkg -P mlocate | |
sudo tee /etc/apt/preferences.d/disable-mlocate << EOF | |
Package: mlocate | |
Pin: release o=Ubuntu | |
Pin-Priority: -1 | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment