Reply
Thread Tools
Posts: 336 | Thanked: 129 times | Joined on Jan 2011 @ portugal
#371
hm..maybe i will try..tks guys.
 
Posts: 958 | Thanked: 483 times | Joined on May 2010
#372
ram and swap usage goes back up because of tracker. edit the optimize n900 script and comment out the lines that kills the tracker process. then you'll see the difference.

other than this, i also implemented a simple script to monitor swap usage. when more than 600mb of data is written to the first swap partition (i have 2), the script will defrag the swap space.

after 12 days of uptime, the phone feels exactly like it was just rebooted. bloody nice i tell you.
 

The Following User Says Thank You to droll For This Useful Post:
bingomion's Avatar
Posts: 528 | Thanked: 345 times | Joined on Aug 2010 @ MLB.AU
#373
I'm looking at removing the tracker process and replace it with file system apps
 
peter2p's Avatar
Posts: 254 | Thanked: 146 times | Joined on Dec 2010 @ Antwerp Belgium
#374
Originally Posted by droll View Post
ram and swap usage goes back up because of tracker. edit the optimize n900 script and comment out the lines that kills the tracker process. then you'll see the difference.
I opened the OptimizeN900 script in /usr/local/bin/OptimizeN900

Code:
#Refresh the Tracker process
killall -q trackerd
sleep 1;
killall -q tracker-indexer
sleep 1;
How do i comment out the lines that kills the tracker process,
just remove the second and third line? or remove all 4 or 5 lines?
__________________
.................................................. ...........
..........................
................................N900 is a way of life....................
surfing the web, navigate, chat, ttweet, email, scan, hack, share, tweak...
.....................and you can also use him to make a call

Last edited by peter2p; 2012-01-17 at 09:05.
 
Posts: 183 | Thanked: 98 times | Joined on Mar 2011 @ Brisbane, Australia
#375
Originally Posted by peter2p View Post
I opened the OptimizeN900 script in /usr/local/bin/OptimizeN900

Code:
#Refresh the Tracker process
killall -q trackerd
sleep 1;
killall -q tracker-indexer
sleep 1;
How do i comment out the lines that kills the tracker process,
just remove the second and third line? or remove all 4 or 5 lines?
See the first line. It has a #. In programming, symbols such as this indicate a comment. Anything following the # in that line will be excluded. Hence why the words "Refresh the Tracker Process" are not executable.

To comment out any lines in that script, put a # in front of it Just be sure on what you are commenting, and that there is nothing else that needs to be commented
__________________
N900 | N9 - 64gb | www.EverythingN9.com - Nokia N9 Tips, Tricks, and Reviews
 

The Following User Says Thank You to Storm_11 For This Useful Post:
Posts: 958 | Thanked: 483 times | Joined on May 2010
#376
yup, Storm_11 is correct. just put a # symbol in front of it. then try the script again and see what happens.
 

The Following User Says Thank You to droll For This Useful Post:
peter2p's Avatar
Posts: 254 | Thanked: 146 times | Joined on Dec 2010 @ Antwerp Belgium
#377
Originally Posted by Storm_11 View Post
See the first line. It has a #. In programming, symbols such as this indicate a comment. Anything following the # in that line will be excluded. Hence why the words "Refresh the Tracker Process" are not executable.

To comment out any lines in that script, put a # in front of it Just be sure on what you are commenting, and that there is nothing else that needs to be commented
thx Storm for your reply, i don't know anything about programming but if i understood you correctly i have to put a # before both killall processes to stop the tracker.

Edit; copied the file, put a # before all 4 lines, script didn't start.
removed the whole section, same, script won't start, replaced original file, won't start at all so i reinstalled and now it's fine.

Could it be possible that the device needs the ram and swap to operate normal and this script just temporary wipes all unnecessary stuff so it "feels" like a reboot afterwards building up the ram and swap needed? if so, i think it does a great job...
__________________
.................................................. ...........
..........................
................................N900 is a way of life....................
surfing the web, navigate, chat, ttweet, email, scan, hack, share, tweak...
.....................and you can also use him to make a call

Last edited by peter2p; 2012-01-17 at 21:09.
 
Posts: 336 | Thanked: 129 times | Joined on Jan 2011 @ portugal
#378
i had random reboots and when i plug the charger it asks me if i want pc suite or mass mode storade..i am uningstaling this
 
Posts: 250 | Thanked: 126 times | Joined on Dec 2010
#379
I'm trying it still now no problem thanks
 
Posts: 958 | Thanked: 483 times | Joined on May 2010
#380
i've been using it for a long time. works well. i have KP49 and latest CSSU. on PR1.3.1.

if you're having random reboots or weird behaviour pluging in charger, you may want to check if those problems happen before you run the script.

installing this script doesn't do anything. it's just a script. you still need to run it for it to work its voodoo magic.
 
Reply

Tags
faster, reflash, refresh, script-a-brick, sell it

Thread Tools

 
Forum Jump


All times are GMT. The time now is 23:00.