Showing posts with label Disable. Show all posts
Showing posts with label Disable. Show all posts

Friday, September 26, 2008

Trackerd Uses 100% of CPU in Gutsy

I was on my computer the other day and suddenly it acted like it was frozen.
I looked at the CPU monitor in my toolbar and saw that my CPU usage was pegged at 100%.
What!!! I was only reading the news.

So I opened up my monitor tool to see what was eating up my CPU.
After a minute or so it finally opened and I saw the culprit.
Trackerd.

What is that? I quickly killed it and hoped it wouldn't shut down my system.
It didn't and a few seconds later my computer was acting normal again.
I went to Google and looked up trackerd.
It's an indexing app to make file searches faster. It also seemed to have numerous bug reports concerning high CPU usage in Gutsy. It doesn't seem to be a problem in previous Ubuntu versions or the newest Hardy version.

I also found out that it can really load up your hard drive with massive databases of the indexed files. My database files totaled over 470 megs!
I also found out you don't need it. All that will happen when you search for a file it will take a few seconds longer.

Below are several options to solve the problem.


Solution #1;
Change the options of your indexing. Tell trackerd what it can or cannot index.
This can be done by going to Preferences > Indexing preferences > Tab ignored files and select what files and folders it should ignore.

Solution #2
Change the performance of trackerd by going into the same configuration screen and turning down the performance. Please note that this may not help. Trackerd has a nice setting of +19. Changing this setting seems to have no effect.

Solution #3
Disable trackerd by going to System> Preferences> Sessions or use this command:
gnome-session-properties
Then uncheck Tracker and be sure to remove the Deskbar applet from the panel.

Solution #4
Uninstall trackerd. WARNING! This may try to uninstall your Gnome Desktop.
If you get a warning or message that the Gnome Desktop will also be removed you need to abort this process and disable trackerd instead.
Open your terminal and use the following command;

sudo apt-get remove --purge tracker-search-tool tracker-utils

Then delete the index stored here.
du -sh ~/.config/tracker
rm -rf ~/.config/tracker

That should do it. By using one of the above options will give you more control over your CPU usage and free up some disk space.

Enjoy!

TaZMAn