Reply
Thread Tools
Posts: 206 | Thanked: 46 times | Joined on Mar 2010
#611
I am glad to see your findings Maacruz. Thanks for your work.
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#612
Ditto, and sorry for leading you on a wild goose chase
 
Posts: 1,101 | Thanked: 1,184 times | Joined on Aug 2008 @ Spain
#613
Sorry for taking so long.
Here is the fix.
It's a little script daemon that monitors gpsdriver and kills it when has leaked enough memory to grow in size, which happens every 1.5-2 hours, but it won't interfere with gps usage.
It uses almost no resources (124 kb of resident memory, runs once each 1/2 hour).
I've running it for the last week and the effect has been very positive.
Since it is just a shell script, all sources are already included in the package

Last edited by maacruz; 2010-10-18 at 21:42. Reason: The package is available from extras-devel, so no need to keep it here
 

The Following 6 Users Say Thank You to maacruz For This Useful Post:
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#614
Originally Posted by maacruz View Post
It's a little script daemon that monitors gpsdriver and kills it when has leaked enough memory to grow in size, which happens every 1.5-2 hours, but it won't interfere with gps usage.
Cool :-) Are you going to push this to extras-devel?

A minor nitpick: I think you meant to use $MMAX & $PID in the main line, ie

Code:
KILL=$(busybox awk -v MMAX="$MMAX" '($1 == "VmSize:") {if ($2>MMAX) print 1 }' \
/proc/$PID/status) 2>/dev/null
While we're at it, I wonder if there's some way to detect when /var/lib/gps/nvd_data has become stale and get rid of it as well...
 

The Following 2 Users Say Thank You to lma For This Useful Post:
Posts: 1,101 | Thanked: 1,184 times | Joined on Aug 2008 @ Spain
#615
Originally Posted by lma View Post
Cool :-) Are you going to push this to extras-devel?
Yes, I should read the extras-devel procedure and start pushing things once and for all.
A minor nitpick: I think you meant to use $MMAX & $PID in the main line, ie

Code:
KILL=$(busybox awk -v MMAX="$MMAX" '($1 == "VmSize:") {if ($2>MMAX) print 1 }' \
/proc/$PID/status) 2>/dev/null
upps! Thanks! Uploaded a fixed package in the previoux post
While we're at it, I wonder if there's some way to detect when /var/lib/gps/nvd_data has become stale and get rid of it as well...
Oh, I'm sure there is, but except for a simple sanity check, since it is yet another propietary "zooper zeecret" file format and nokia won't open it, we won't be able to do it without a very significant reverse engineering effort. At the very least, we need a corrupt nvd_data to see if it is visibly broken.
 

The Following 3 Users Say Thank You to maacruz For This Useful Post:
Posts: 1,101 | Thanked: 1,184 times | Joined on Aug 2008 @ Spain
#616
The fix for the gpsdriver memleak is in extras-devel. Look for the gpsdriver-guard package under system. Please test.
 

The Following 7 Users Say Thank You to maacruz For This Useful Post:
Posts: 164 | Thanked: 18 times | Joined on Dec 2007
#617
Is this project still active?? I have not recieved an update in a while... I was hoping for performance updates
 
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#618
Most of the stuff they want to update is tangled up in proprietary libs...
__________________
Be warned, posts are often line of thoughts at highway speeds...
 
Posts: 1,513 | Thanked: 2,248 times | Joined on Mar 2006 @ US
#619
Originally Posted by migs View Post
Is this project still active?? I have not recieved an update in a while... I was hoping for performance updates
See post 569 in this thread.

Speaking just for myself, hesitating while deciding whether to pursue SSU^2 or Hildon on MeeGo. That depends at least for the moment on the progress of the Gnome project:

http://blogs.gnome.org/foundation/20...call-for-bids/
__________________
3-time Maemo Community Council Member
Co-Founder, Hildon Foundation
 
tuliobaars's Avatar
Posts: 118 | Thanked: 66 times | Joined on Mar 2010 @ Brazil
#620
Hello! People, Me and so many people (Brazilian's one) are getting a problem with missing package after installing SSU Enabler and tried to update, called osso-pdf-viewer . Someone would know WTH is this missing and how can we fix this issue? A Lot of people should be happy with this.

PS.: We've downloaded some repos of www.repos.tk - any recommendation?

Thanks in advance
__________________
Practice makes perfect.....
But nobody's perfect......
so why practice?

I was born intelligent
education ruined me.
 
Reply

Tags
backintime, diablo cssu, diablo turbo


 
Forum Jump


All times are GMT. The time now is 04:38.