Active Topics

 


Reply
Thread Tools
Posts: 1,255 | Thanked: 393 times | Joined on Oct 2009 @ US
#1
Update: This does not just happen with games, it can happen with other Flash content on the page as well.

I have been testing hundreds (yes) of Flash games and it did not occur to me that they could cause problems with battery life and performance- besides the obvious impact when playing them, of course.

An example is the game "Afterglow". It is a game that loads, but does not get past the menu screen. I closed the game, but it was still resident in memory and draining the battery. The app is so agressive it activated the device even after being locked.

If you play a Flash game but then notice your device is laggy or running warm, it may be due to a Flash game still running even after closing the browser. It will show as "browsersd" and may be active when you show no open tasks. Need to go to terminal and check from there and then reboot the device if present. Audiopulse may also be running too. The combination of both has been up to 90% of cpu and 40% of memory used. UDPATE: Posts below details how to also kill em' without a reboot.

The N900 needs a task killer for this. It is fine to call this a mini-computer- but at least give me the same function to till kill tasks. When this happens with a computer, you can kill the task with ctrl-alt-delete and then find the culprit and kill it. A UI that covers this process would be good.

This has kind of sucked the fun out of playing Flash games for me, since Afterglow is not the only game that does this and it can get old to have to check after running each game.

Last edited by Rushmore; 2009-12-11 at 17:19.
 

The Following 4 Users Say Thank You to Rushmore For This Useful Post:
Posts: 127 | Thanked: 50 times | Joined on Sep 2009 @ Denmark
#2
That sounds like a serious issue. I'd like a GUI for watching running tasks as well.

Oh and, how about writing about your experiences with games, in this thread: http://talk.maemo.org/showthread.php?t=36176 ?
 

The Following User Says Thank You to real_per For This Useful Post:
hopbeat's Avatar
Posts: 516 | Thanked: 643 times | Joined on Oct 2009 @ Denmark/Poland
#3
@Rushmore, you know about terminal and ps aux / kill? But I agree, that a nice gui wrapper for this would be useful. Shouldn't be to hard to do.
__________________
Hi! I'm a Maemo Greeter!
Witaj na talk.maemo.org!

Useful links for newcomers:
Użyteczne linki:
Nowi użyktownicy mówią cześć | New members say hello , Tu zaczynają nowi użytkownicy | New users start here, Podforum społeczności | Community subforum, Wiki dla początkujących | Beginners' wiki page, Maemo5 101, Często zadawane pytania | Frequently Asked Questions (FAQ), Google

Jeżeli mogę w czymś pomóc, pytaj!
If I can help with anything else, just ask!

Bored? Follow me
 
Posts: 11 | Thanked: 1 time | Joined on Dec 2009 @ Lisbon, Portugal
#4
Just a quick question, rebooting the deviice kills the process right ?
 
hopbeat's Avatar
Posts: 516 | Thanked: 643 times | Joined on Oct 2009 @ Denmark/Poland
#5
@Nmigaz, yes.
__________________
Hi! I'm a Maemo Greeter!
Witaj na talk.maemo.org!

Useful links for newcomers:
Użyteczne linki:
Nowi użyktownicy mówią cześć | New members say hello , Tu zaczynają nowi użytkownicy | New users start here, Podforum społeczności | Community subforum, Wiki dla początkujących | Beginners' wiki page, Maemo5 101, Często zadawane pytania | Frequently Asked Questions (FAQ), Google

Jeżeli mogę w czymś pomóc, pytaj!
If I can help with anything else, just ask!

Bored? Follow me
 
Posts: 3 | Thanked: 0 times | Joined on Dec 2009
#6
lol - just registered on the forum to pass on the info about /kill - but you beat me to it hopbeat

When I've had to use kill on various linux boxes from time to time, i always use
Code:
/kill -9 pid
where pid is the process identifier as listed in the output from the 'top' command (I prefer top as it's easier to see which processes are hogging the cpu without the potential need for scrolling through the long list that the ps command can produce.

More info on the kill command here.

I'm still waiting for my n900 (anyday now) - so thanks for the headsup, definitely something to keep an eye out for.

Cheers.
 
Posts: 1,255 | Thanked: 393 times | Joined on Oct 2009 @ US
#7
Thanks guys!

How hard would it be for one of our fine Maemo overlords to create and add the task killer function in the UI?
 
hopbeat's Avatar
Posts: 516 | Thanked: 643 times | Joined on Oct 2009 @ Denmark/Poland
#8
@Pyrran, sorry for that, at least now you are a registered user (welcome )

@Rushmore, don't know about the overlords, the application/widget for this is not too complicated. Probably the most 'demanding' part would be to filter out processes that you do-not-really! want to kill.
__________________
Hi! I'm a Maemo Greeter!
Witaj na talk.maemo.org!

Useful links for newcomers:
Użyteczne linki:
Nowi użyktownicy mówią cześć | New members say hello , Tu zaczynają nowi użytkownicy | New users start here, Podforum społeczności | Community subforum, Wiki dla początkujących | Beginners' wiki page, Maemo5 101, Często zadawane pytania | Frequently Asked Questions (FAQ), Google

Jeżeli mogę w czymś pomóc, pytaj!
If I can help with anything else, just ask!

Bored? Follow me
 
Posts: 176 | Thanked: 56 times | Joined on Oct 2009
#9
Open an xterm and type in

killall browserd

That should kill all running flash sessions.

I do not suggest running

killall -9 browserd

or

killall -kill browserd

on my N900 the -9 switch caused the phone to reboot. There are instances of browserd that run as part of Maemo.

A more precise method is to open a X-terminal then type in

top

the applications using the most cpu will be at the top of the list. Find the PID for the offending program which is in the left column of the list. Then press q to exit top and run

kill PID

If that does not work then run

kill -9 PID
 

The Following 3 Users Say Thank You to Bruce For This Useful Post:
Posts: 1,255 | Thanked: 393 times | Joined on Oct 2009 @ US
#10
Originally Posted by Bruce View Post
Open an xterm and type in

killall browserd

That should kill all running flash sessions.

I do not suggest running

killall -9 browserd

or

killall -kill browserd

on my N900 the -9 switch caused the phone to reboot. There are instances of browserd that run as part of Maemo.

A more precise method is to open a X-terminal then type in

top

the applications using the most cpu will be at the top of the list. Find the PID for the offending program which is in the left column of the list. Then press q to exit top and run

kill PID

If that does not work then run

kill -9 PID
Thanks!

Is adding this type of function as part of the UI on the road-map?

Not just games can cause this. I have noticed that any Flash content on a page can cause the browser to stay active and drain the battery.

Seems like a bug / weak design of the OS and browser. I think that a lot of the random problems with battery and performance people are having is due to Flash and the OS's inability to kill the process when closing the browser.

Last edited by Rushmore; 2009-12-11 at 17:19.
 
Reply

Tags
battery drain, bug, flash, fremantle, game, maemo, maemo 5, maemo browser, plug-in, warning, web browser, zombie


 
Forum Jump


All times are GMT. The time now is 01:42.