tracker pegs cpu and prevents me from getting work done

Bug #160646 reported by jeff
10
Affects Status Importance Assigned to Milestone
tracker (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When I use my Ubuntu 7.10 system, my typical usage is to login and open up Evolution (which is set to auto-check my pop accounts for email and download/filter them all).

I've been wondering for the past few weeks (since I upgraded to 7.10), why Evolution had suddenly become so painfully slow at downloading my mail/generally unresponsive.

Well, tonight I figured out why... I began noticing that my entire system was slow (I actually tried to do other things while evo was fetching my mail), so I checked `top` and trackerd was pegging my cpu (my load average was also at 10.56 and climbing).

In addition to pegging my cpu, my disk was also getting slammed - which may explain why it was taking Evolution so long to download mail (which is typically bound more by disk i/o than cpu usage). It might also be worth investigating whether or not trackerd locks (flock, fcntl, etc) Evolution's mboxes because this could have also been a cause for Evolution's inability to write my new mail to disk (as soon as I killed trackerd, my mail download was 100x faster).

It would be a good idea to make trackerd avoid indexing at least my mboxes so long as my email client is writing messages to disk, especially if it flock's the mbox files, because when I click "check mail", I don't want to wait - I want mail as fast as I can get it. I'm a very impatient person ;-)

it could also be argued that trackerd should not be indexing my files while I'm actively using my system, either, because of its tendency to peg cpu/disk - the 2 resources I need most when I'm actively using my desktop :-)

Revision history for this message
Simone Tolotti (simontol) wrote :

I can confirm this... Trackerd is a pain... It uses 50% of my cpu when indexing (I have a core2duo 6300 with 2Gb ram!!!)
I've tested it on Hardy too. sometimes it seems stuck indexing something and raises 50-60% of cpu usage slowing down the entire system.

I'm actually using Beagle on Gutsy and I'm happy with it 'cause it stops indexing any time I move the mouse pointer or I press a button on the keyboard.

Trackerd seems to ignore if the user is doing something or not, this is very bad!

Revision history for this message
jeff (stedfast) wrote :

I've got a core2duo too, 2.4GHz 4GB of RAM. Not sure if that helps.

I've since had to uninstall trackerd because of this problem and went back to beagled as per a friend's recommendation.

Revision history for this message
Jamie McCracken (jamiemcc-blueyonder) wrote :

We now have options to auto pause tracker whenever user moves mouse or presses button via the applet

This should keep the system very responsive when its in use

Changed in tracker:
status: New → Fix Committed
Revision history for this message
Brian Takita (brian-takita) wrote :

I have issues with trackerd and IntelliJIdea. IntelliJ does its own indexing when loading a project.
Trackerd causes this to take a very long time.

I'm ususally not moving my mouse or pressing a key while the project is loading.

Przemek K. (azrael)
Changed in tracker (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.