tracker pegs cpu and prevents me from getting work done
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 :-)
Changed in tracker (Ubuntu): | |
status: | Fix Committed → Fix Released |
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!