Unnecessary database updating

I have a really old laptop that I put Ubuntu on. It used to have Xubuntu on it but even though Xfce is faster than GNOME, I like GNOME better.

There is a problem with a fresh install of Ubuntu however (and all other editions I assume), where there’s heavy unnecessary HDD activity, and the top utility reveals mlocate to be the perpetrator.

To disable mlocate running automatically, I just changed the permissions of /etc/cron.daily/mlocate to 644, by running:

$ sudo chmod -x /etc/cron.daily/mlocate

Problem solved, and no more seemingly random slowdowns by heavy activity on the HDD, which is slow as it is!

Also, turning off automatic checking of updates helps a lot too. It’s a great relief not to be interrupted in your… “work”, let’s call it, by heavy HDD activity, so it’s better to perform updates and package listing updates manually when it suits me.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: