Skip to content

Instantly share code, notes, and snippets.

@fcsonline
Created May 10, 2018 09:41
Show Gist options
  • Save fcsonline/ab69e80014760cba76bc0587df912de8 to your computer and use it in GitHub Desktop.
Save fcsonline/ab69e80014760cba76bc0587df912de8 to your computer and use it in GitHub Desktop.
Disable mlocate un Ubuntu (100% CPU and 100% IO problems)
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