Go Back   maemo.org - Talk > OS / Platform > Maemo 5 / Fremantle
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #1  
Old 2013-05-31, 05:06
x-dongzi x-dongzi is offline
 
Join Date: May 2013
Posts: 3
Thanks!: 0
Thanked 3 Times in 3 Posts
Default HOWTO stop the tracker from rebuilding db after the N900 reboot

Hi, Every One.
I have a problem about the tracker.
When I reboot the N900, the tracker-index always rebuild the db, even I do not change any image or video or audio.
And the tracker will always use 100% CPU, and I would not use the Phone for about 10 or 20 minutes.
Is there any solution to stop the tracker rebuild the db after boot the phone?
I don't want to stop it all the time, I just want the tracker to work after any image/video/audio changed, and I don't want it to slow my N900 boot time.

Thanks.
Reply With Quote
The Following User Says Thank You to x-dongzi For This Useful Post:
  #2  
Old 2013-05-31, 05:16
sLumPia sLumPia is offline
 
Join Date: Dec 2011
Location: P town
Posts: 153
Thanks!: 356
Thanked 81 Times in 45 Posts
Default Re: HOWTO stop the tracker from rebuilding db after the N900 reboot

You can kill tracker with this command:
Code:
$ tracker-processes -r

Last edited by sLumPia; 2013-05-31 at 05:31.
Reply With Quote
The Following User Says Thank You to sLumPia For This Useful Post:
  #3  
Old 2013-05-31, 06:07
x-dongzi x-dongzi is offline
 
Join Date: May 2013
Posts: 3
Thanks!: 0
Thanked 3 Times in 3 Posts
Default Re: HOWTO stop the tracker from rebuilding db after the N900 reboot

Quote:
Originally Posted by sLumPia View Post
You can kill tracker with this command:
Code:
$ tracker-processes -r
If I kill the tracker after N900 boot, would the tracker start automatically again? If it would start again, will it use 100% CPU again?
Thanks.
Reply With Quote
The Following User Says Thank You to x-dongzi For This Useful Post:
  #4  
Old 2013-05-31, 06:12
x-dongzi x-dongzi is offline
 
Join Date: May 2013
Posts: 3
Thanks!: 0
Thanked 3 Times in 3 Posts
Default Re: HOWTO stop the tracker from rebuilding db after the N900 reboot

Quote:
Originally Posted by sLumPia View Post
You can kill tracker with this command:
Code:
$ tracker-processes -r
I tried this command. And it do not do what I want to do.
This command stop the tracker and remove the tracker db and rebuild them.
I just do not want it take too mach CPU in the N900 booting time.
It would take 10~20 minutes after N900 boot, and cause 100% CPU usage, and I could not use the phone, because the CPU is 100% used.
Reply With Quote
The Following User Says Thank You to x-dongzi For This Useful Post:
  #5  
Old 2013-05-31, 07:02
sLumPia sLumPia is offline
 
Join Date: Dec 2011
Location: P town
Posts: 153
Thanks!: 356
Thanked 81 Times in 45 Posts
Default Re: HOWTO stop the tracker from rebuilding db after the N900 reboot

try -k
Code:
tracker-processes --help
Usage:
  tracker-processes [OPTION...]  - Manage Tracker processes and data

Help Options:
  -?, --help           Show help options

Application Options:
  -k, --kill           Use SIGKILL to stop all tracker processes found - guarantees death :)
  -t, --terminate      Use SIGTERM to stop all tracker processes found
  -r, --hard-reset     This will kill all Tracker processes and remove all databases
Reply With Quote
The Following User Says Thank You to sLumPia For This Useful Post:
  #6  
Old 2013-05-31, 07:11
sixwheeledbeast sixwheeledbeast is offline
 
Join Date: Apr 2010
Location: UK
Posts: 2,286
Thanks!: 4,586
Thanked 4,129 Times in 1,649 Posts
Default Re: HOWTO stop the tracker from rebuilding db after the N900 reboot

The tracker generally causes me no problems.
Have you changed any tracker settings?
__________________
The stable-beast currently runs...
21.2011.38-1Smaemo8 (CSSU Stable)
2.6.28.10power53 (125-600Mhz SR VDD1&2)

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
Reply With Quote
The Following User Says Thank You to sixwheeledbeast For This Useful Post:
  #7  
Old 2013-05-31, 07:19
pichlo's Avatar
pichlo pichlo is offline
 
Join Date: Sep 2012
Location: UK
Posts: 6,436
Thanks!: 20,780
Thanked 20,976 Times in 5,998 Posts
Default Re: HOWTO stop the tracker from rebuilding db after the N900 reboot

Uninstall tracker

Please note that it has a lot of dependencies including the stock media player and picture viewer. You will need to find alternatives.

Your problem looks strange. Tracker should only rebuild databases when it notices a change in watched folders. Perhaps it is misconfigured? Check out this thread for ideas and/or install tracker-cfg from extras.
Reply With Quote
The Following User Says Thank You to pichlo For This Useful Post:
Reply

Tags
nokia n900, tracker-cfg


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 19:16.