Processes running rampant - AT&T Samsung Galaxy S II SGH-I777

I don't know what the deal is but this is continually happening to me and across different roms. I am using the built in "Task Manager" feature of touchwiz to monitor what processes are using my cpu. I am finding that some things are sitting there using between 15-45% cpu at all times even when in the background. For example:
Today right before my lunch I checked the task manager, I stared at it for 2 minutes to make sure there was no cpu activity, when I saw that everything looked to me normal I clocked out for my lunch and left work. By the time I was done eating (my phone had been in my pocket the entire time by the way) I checked my phone to see what time it was and noticed that I had lost about 12% battery life in 30 minutes. I immediately opened task manager and found that Browser was in the red and running at a constant 45% cpu usage. I immediately exited the browser. I find that this is happening with other apps as well.
What could be causing this? And more importantly will ICS fix it?

Interesting. Browsers are always killing it for me.
For example I use Dolphin Browser. The ad-dons like Google services and tab switcher kill battery like a mother and also put a ton of CPU stress on the processor.
Only thing I can say is make sure to close out all apps because apps running in a background may run rampant.

Yeah that shouldn't be happening.
I do hope a feature is implemented into android to have a 'do not run list' unless opened by user.
Sent from my SAMSUNG-SGH-I777 using XDA App

kevonomics said:
Interesting. Browsers are always killing it for me.
For example I use Dolphin Browser. The ad-dons like Google services and tab switcher kill battery like a mother and also put a ton of CPU stress on the processor.
Only thing I can say is make sure to close out all apps because apps running in a background may run rampant.
Click to expand...
Click to collapse
What I've resorted to is closing all web pages when im done and backing out of apps that I know have started to run out of control sometimes. There has to be an easier way though.
What about times like today when im researching something and have to run out for lunch and just throw my phone in my pocket with 8 browser windows open? I have to go back and find all the pages because I had to close them all out in fear that my battery would drain?
There has to be a better way. I switched to android bevaseu of the horrible memory management apple has. I would hate to leave android beacuse it couldnt control backgournd processes and let my battery be destroyed.

Memory management is good on these phones. Bad memory management causes slow downs.
What you're looking for is app management. I know some may jump on the me for saying anything about a task manager, but you might want to try one out.
Though I'd only recommend using it for the programs you're having issues with. Set it to 'only' kill the problem apps. Not any other apps or system processes.
What browser are you using? If it's happened across multiple roms, it may be an issue with that browser. Better to treat the problem (the app) than the symptom (battery getting drained)
Sent from my SAMSUNG-SGH-I777 using XDA App

gr8hairy1 said:
Memory management is good on these phones. Bad memory management causes slow downs.
What you're looking for is app management. I know some may jump on the me for saying anything about a task manager, but you might want to try one out.
Though I'd only recommend using it for the programs you're having issues with. Set it to 'only' kill the problem apps. Not any other apps or system processes.
What browser are you using? If it's happened across multiple roms, it may be an issue with that browser. Better to treat the problem (the app) than the symptom (battery getting drained)
Sent from my SAMSUNG-SGH-I777 using XDA App
Click to expand...
Click to collapse
Well see its happening with the same apps across different roms so I know its either an android problem or a touchwiz problem. Can you reccomend any apps that will auto close apps if they start using too much CPU or an app that would allow auto kill on exit? Thank you.

There's not any apps like that, at least yet. Task killers kill whether the app is using alot of cpu or not.
What apps are causing you issues? Have you compared what apps you have on your phone to entropy512's thread about known battery drainers?
Sent from my SAMSUNG-SGH-I777 using XDA App

gr8hairy1 said:
There's not any apps like that, at least yet. Task killers kill whether the app is using alot of cpu or not.
What apps are causing you issues? Have you compared what apps you have on your phone to entropy512's thread about known battery drainers?
Sent from my SAMSUNG-SGH-I777 using XDA App
Click to expand...
Click to collapse
I remember seeing that thread somewhere before but don't know how to find it again.
Can you reccomend any task killer apps?
Sent from my SAMSUNG-SGH-I777 using XDA App

My favorite with my captivate was auto task manger. When you first open it, it tries to get you to update but the update is garbage.
https://market.android.com/details?id=com.mizusoft.autotaskmanager&hl=en
I haven't used one with my sgs II. Hasn't needed one so far.
Here's a link to the thread:
http://forum.xda-developers.com/showthread.php?t=1308030
Sent from my SAMSUNG-SGH-I777 using XDA App

gr8hairy1 said:
My favorite with my captivate was auto task manger. When you first open it, it tries to get you to update but the update is garbage.
https://market.android.com/details?id=com.mizusoft.autotaskmanager&hl=en
I haven't used one with my sgs II. Hasn't needed one so far.
Here's a link to the thread:
http://forum.xda-developers.com/showthread.php?t=1308030
Sent from my SAMSUNG-SGH-I777 using XDA App
Click to expand...
Click to collapse
Thank you, I will read through this.
Sent from my SAMSUNG-SGH-I777 using XDA App

Related

Task killer

Hello all, I'm just wondering, is having a task killer a good practice or not?I use task panelx. I am rooted, w/ xtrsense 4.6 and cfs v6 kernel I also use autokiller. Thanks I advance for any insight.
Sent from my Eris using XDA App
Personally, I stopped using task killers months ago. Really didn't see any positive impact.
It's debatable. Some people like them, some people don't. Personally, I use one. I think that it improves the performance of my phone.
Sent from my FroyoEris using XDA App
Don't use it for autokilling but it is nice for if you just want to close an errant app that won't close.
MrObvious said:
Don't use it for autokilling but it is nice for if you just want to close an errant app that won't close.
Click to expand...
Click to collapse
+1
Auto task killers are way more trouble than they are worth.
Here's the thing, no matter how your task killer works it's ALWAYS going to pull your program from your RAM (where it's using little to no battery) to your CPU (where it uses way more batter) and this is going to run your battery dry.
If your automatic task killer happens to kill a task when you're getting a phone call or trying to do something else you will notice serious lag for a moment and that's a pain.
Frankly, I have a task killer but I use it only when my phone is plugged in and usually only right after my phone starts up or after a day.

A question about task killing

I heard it was bad using a task killer. is it true? If it is, what cpu watcher should i use. Is watchdog an option. Let me know thanks. I heard it doesnt work for froyo, the task killers.
Sent from XDA Premium from my X10a rooted running 2.2 rendeiro2005 cyanogen rom
Yes, I heard and read that in this Forum. I visited the other Forum and they write same issue.
Voelker45 said:
I heard it was bad using a task killer. is it true? If it is, what cpu watcher should i use. Is watchdog an option. Let me know thanks. I heard it doesnt work for froyo, the task killers.
Sent from XDA Premium from my X10a rooted running 2.2 rendeiro2005 cyanogen rom
Click to expand...
Click to collapse
Sent from my DL DesireZ and Desire HD using XDA App
Then whats the best way to manage cpu?
Sent from XDA Premium from my X10a rooted running 2.2 rendeiro2005 cyanogen rom
let android do that.
linux is different from windows. period
If three processes are killing memory, kill 3 processes! Advanced task killer and Is monitor work fine for me
Sometimes your better off just ignoring arguments. Linux has PS and TOP to view processing. Kill lid is as Unix as there is O hack away
rendeiro2005 said:
let android do that.
linux is different from windows. period
Click to expand...
Click to collapse
Why? If things are dickies, stop them and remove if persistent as problems.. they are safe to kill all day
sent from heaven via x10a custom
A quick overview for you..
Android, in theory, manages it's memory allocation under the premise that free memory is wasted memory.. so it fills the memory up with apps that you use, to a point, keeping a small amount free for caching etc.. when you launch something that will take your memory allocation over the preset limit then it will drop something out of memory that hasn't been used in a while..
However.. there are occasions where Android 2.1 doesn't seem to manage things perfectly and the x10 slows down.. so to remedy this you can kill a few "user initiated" tasks..
This is where many people get into problems.. They download something like ATK and set it to aggressive autokill and then it kills system apps which the system either needs (and so you get operational problems with the phone) or it restarts them.. ATK kills them again.. the system restarts them... etc.. (using the battery more quickly).
There are also some apps which are badly written and don't sleep when "minimised" wasting battery.
So the solution is to get a task killer of some sort and use it manually when you need it.. make sure you set "persistent" apps and system apps to ignore, then you should just be left with stuff you've installed.. and you can kill those all day long!
im_icemen is right, you need a good task killer. Personally I use ES Task Manager, if you set a good ignore list you can use its widget which makes everything faster
Sent from my GT-I5700 using XDA Premium App
I use spare parts and set killing to aggressive
I use ATK but with no Auto-Kill at all. Every now and then I find an app move a little slowly and manually kill a couple of tasks then, and I find YX Player doesn't always drop out of memory after playing a video and stops the lockscreen so I kill it too.
But its not often I have to use it.
Some say task killers cause harm to anDroiD. But personally i feel task killers are must.. itsm quickly kills tasks, frees up memories and boosts up system..
HIT THANKS BUTTON IF HELPED IN
ANYWAY..!
Sent from my awesome X10i running freex10 beta4..
greenglow theme...using XDA premium App..
''Autokiller memory optimizer'' does the trick for me. Its not a task killer in the usual sense. It just allows you to adjust memory thresholds. I set it to moderate and i have no problems with speed or anything like that.
Edit: The reason why some say task killers are bad is due to the possibility of battery drain. Depending on how they are configured the rate of task killing can rapidly deplete the battery.
Sent from my X10i using XDA App

Terminate app on home button press?

Is there a possible way to completely terminate app on home button press? Because everytime my friends use my phone they didn't realize there is a back button.. So they just presses the home button like they were using idevices.. This would hog the memory with the running apps and i have to constantly close them everytime they finish playing..
ICS does have this feature but im running GB atm..
Sent from my GT-I9100 using xda premium
Doesn't matter. Android automatically manages those tasks when they're sent to the background. You're supposed to use the home button like that. Gingerbread is very efficient at handling tasks and RAM. Hence no need for any task killers/manual killing of apps. It's unnecessary. They'll automatically be purged from memory when a freshly opened app needs to take their place in memory to run. I know it feels satisfying to always kill every running app (coming from Symbian S60) and think that you have all the RAM free, but its pointless and of no use.
RAM is supposed to be full. Unused/empty RAM is considered to be wasted RAM. The RAM will be managed completely by the Android system without user intervention. The only time you'll ever need to manually kill an app is if it's misbehaving and causing stability issues.
So continue using the home button like that, there's nothing wrong.
Take a look at this excellent article to get a clear idea -
http://www.androidcentral.com/ram-what-it-how-its-used-and-why-you-shouldnt-care
Sent from my Desire HD using xda premium
So it's best to left the apps running?
But these apps are different to services right? I mean, when it's running in the background it's counted as inactive? Because my friend's SGS2 had plethora of active services running and it drains battery like crazy..
Sent from my GT-I9100 using xda premium
Only concern I can see is if an app isnt killed and is still active in the background, it could use cpu/battery power, but if it's Instantly killed it won't anymore.
sent from my legend, currently using extream legend fuseā„¢
Gorjess said:
So it's best to left the apps running?
But these apps are different to services right? I mean, when it's running in the background it's counted as inactive? Because my friend's SGS2 had plethora of active services running and it drains battery like crazy..
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
They will only drain power if the apps are requesting CPU which any good app shouldn't. RAM needs power but I believe its being powered the same whether full or partially full and I imagine RAM requires little power. There are some that will drain battery if left running, and those are the ones that you may have to kill but it shouldn't be the norm.

Multitasking issue?

Hey there, was trying out the multitasking on the phone and am experiencing RAM shortage? 2GB would have been great, but as I had the GSII I know that there is a lot more capability with 1GB..
On my GSII I could run more apps in the background than now. With the GSIII I can only have 3 apps working at the same time?! Everything keeps refreshing.. the browser, the launcher etc. Even the music stops sometimes while multitasking...
Anyone facing the same issue?
Sent from my GT-I9300 using XDA
No issues here at all..
Sent from my GT-I9300 using Tapatalk 2
I mean you should check the task manager, if you can get more than 4 apps to run?
Sent from my GT-I9300 using XDA
Apart from the odd occassional main home screen refresh now and again, nothing out of the ordinary for me.
Stock ROM, but running a themed screen and icons with Go Launcher.
Might be worth looking at http://forum.xda-developers.com/showthread.php?t=1634624
Some useful hints and tips on closing/removing apps. I personally just disabled them, made the mistake of removing some core ones from my GNex and made a right royal mess.
Good luck, let us know how you get on. :good:
Thank you for the useful thread you posted, but I didn't have to remove bloatware on my gsII to multitask? Even though I did remove it after a while it still worked before doing anything. I just can't imagine Samsung will ship a phone, where you have to remove apps to multitask properly?
So you can run more than 4 apps in the task manager?
Sad we in Europe didn't get the choice like in the U.S.between the two versions. As I feel the RAM would have been more future proof..
But putting this aside, I'm really impressed what they have packed into the touchwiz out of the box ! I don't even feel like rooting and flashing, because everything is running just fine.
As I know myself I'll find myself fondling around pretty soon, because Iknow the potential of xda
Just am facing this issue, which is really bugging me atm.
Sent from my GT-I9300 using XDA
I've got about 10 apps so far showing when I press the task manager button, no signs of lag so far for me.
Memory usage for me is 644Mb out of 779Mb.
Can't think of anything preventing you from opening more than 4 apps on the go.
No that thing you are seeing is the recent apps menu! That is just a chronology of what you opened recently and is no real time multitasking! In that menu you have to press "task-manager". There you'll see the apps which are truly running
Sent from my GT-I9300 using XDA
Yeah, I did say I pressed the Task Manager button, maybe I should'be been more clear on what I pressed and where it took me.
Anyways, I've attached a picture to clarify that I had at least 10 apps running.
You didn't tweak around the Developer options have you by any chance? Near the end of the list there is a section that says Limit background processes, mine has Standard limit, if clicked, options include No background processes, 1,2,3,4 processes at most.
If it's not that, then I'm out of ideas.
I don't own the sg3 (plan on buying one soon), but I know that in ICS there is an option in settings under developer options where you can set the number of apps allowed to run in the background.
Worth a shot.
Gold luck.
Sent from my HTC Desire using XDA
multi tasking is perfect on omega roms.
Thanks for your effort mate!
At least now I know, that something isn't right with my phone... I had checked the developers options before, it was set on standard... I haven't done anything with the phone yet, that's the funny thing :/
I'll check what else I can do when I'M home from work.
I just noticed the issue when I was trying out the chrome and stock browser simultaneously. but the pages were all reloading. Which was not the case on sII.
really weird..
You are still on stock ROM?
Sent from my GT-I9300 using XDA
Pratz852 said:
Thanks for your effort mate!
At least now I know, that something isn't right with my phone... I had checked the developers options before, it was set on standard... I haven't done anything with the phone yet, that's the funny thing :/
I'll check what else I can do when I'M home from work.
I just noticed the issue when I was trying out the chrome and stock browser simultaneously. but the pages were all reloading. Which was not the case on sII.
really weird..
You are still on stock ROM?
Sent from my GT-I9300 using XDA
Click to expand...
Click to collapse
I also face this problem of all webpages reloading all the time after switching apps.
Sent from my GT-I9300 using Tapatalk 2
That happens when your phone runs out of memory, are you sure you're not running too many background apps?
Browsers are huge memory hogs, so it's not really surprising when you run 2 at the same time, but it all depends on the amount of open tabs and the webpages within.
The same "issue" appears on S2 (Stock an CM9) and with somewhat heavier usage on the Note.
no issues at all 1gb is perfect i dont need more
I think I solved it! Have to test it later.
Just removed the battery and inserted it again.. I know.. so trivial and didn't do that before dramatizing here thanks anyway!!!
Sent from my GT-I9300 using XDA
LOL! Battery pull! Let's hope that does fix it!
Glad you managed to figure something out.
Haha maybe it will give some ppl the idea too, if they face similar issues before crying around
Thank you nevertheless!
Sent from my GT-I9300 using XDA
maybe you have set this setting as attached pic
Sent from my GT-I9300
This happens to me too and I very much doubt the problem isn't on everyone's phone.
One gig is obviously not enough on this phone.
Just for the record I love the phone but my browser is the only thing running and my home screen has just redrawn
Hey guys I'm back ..
Now I can open more apps simultaneously, but around after a minute everything closes down. They don't stay on they just close after a while..
I don't know what the reason is, but could you check and open a few apps? Then just look after a minute or so if they close down .
Sent from my GT-I9300 using xda app-developers app

[Q] True multitasking?

Is it possible to make Android NEVER automatically kills running apps, to have true multitasking like on Maemo and webOS?
I am really sick of it killing apps that I use.
I tried V6 supercharger, but that didn't help... I looked everywhere for an answer, but I never found one.
Surely there is a way to make Android multitask like a proper PC, where it's the user who manages apps?
(And please don't tell me that I should leave it to Android, that it knows better, and etc.)
Now, before you start defending Android:
Ever had your browser refresh the page by itself after switching to it?
Ever lost something you were writing when you switched to another app?
Ever had a video pause because you switched from the player?
That shows that Android does NOT have true multitasking.
Now, I see why Google did that - battery life. However there is a new class of devices, where battery life is not such a problem. Tablets.
And yet they still suffer from same issues.
Now, here's an example: the browser. Very often I'd come back to my browser, only to find that it is reloading the page I was on, wasting traffic, and losing whatever text I typed.
That's stupid, right?
I can even track back to what device did this first - the iPhone.
iPhone 1 had 8 times less RAM than your average high end device, yet they still have a similar problem.
So yeah. Not true multitasking. Even in the app switcher, notice that it never says "running apps", only "recent apps" - because it isn't a true multitasking app switcher, just a history of all recent apps you launched.
Go on, scroll to the very top, launch the oldest app on the list. I'm 99% sure that it has restarted. This would've never happened if Android had TRUE multitasking.
Now, there has to be a way to get that. Desktop Linux does it, so Android probably can too.
If you ever notice that the app restarts, it's the app that is badly implemented. All apps must be able to handle a restart by Android transparently to the user by saving its state. If not, tell the app developer to fix it.
Chrome, Dolphin, Boat, Maxthon, AOSP, ICS Browser+, Opera, Firefox.
That's a list of browsers that have this problem.
Do you really think that they all implemented multitasking wrong?
Again, it's a problem with Android - I don't want apps to save their state so that Android can kill them - I want them to never leave RAM at all.
SilverHedgehog said:
Now, here's an example: the browser. Very often I'd come back to my browser, only to find that it is reloading the page I was on, wasting traffic, and losing whatever text I typed.
Click to expand...
Click to collapse
Maybe dont answer all ur questions:
http://stackoverflow.com/questions/...lication-is-that-frowned-upon/2034238#2034238
Apps who properly implement onSaveInstanceState() can come back, in case of web browsers is more complex to use it properly, texts or images are simple to imagine how to OS save on "disk" to retrieve later, what about sockets or open files (can be deleted while in background).
Android keep on background until the resources are needed for another task (and maybe a time limit, but dunno for sure), if happen very often w/ u means ur OS r using more resources than what need to keep on background.
Android has true multitasking, but... eh here's a link. Read yourself.
http://android-developers.blogspot.com/2010/04/multitasking-android-way.html?m=1
Sent from my MB508 using xda premium
But is it possible to make it so that apps do not get killed at all, just like in Maemo or a normal PC?
What you showed me is exactly why Android does not have true multitasking: it uses stuff like services to actually have less things running - and I don't want that. I want all apps to truly stay in the background - so a YouTube video would continue playing, just like when I minimize the browser on my PC, and etc.
I understand why that isn't the default behavior on phones, but it could be really useful on a tablet.
I don't want to be at mercy of app developers - since even Google messes up: every time I switch out of Google Talk, I lose what I was typing.
I'd much rather have a limited amount of apps that I can launch at a time, and be able to manage what I want to keep open myself.
What you are asking for is basically to completely change core Android behavior.
Sorry, but its just not possible
Sent from my DROID2 using xda premium
It is possible, because it's been done. There was a guy who did it over on the V6 supercharger thread, but I don't think the how he did it was ever released. Instead it was developed into a "kill apps only when ram is REALLY needed" method, which could run up to 20 apps at a time on some phones apparently
Sent from my Galaxy Nexus using Tapatalk 2
I get what you are talking about but I'd say is what device your using. My eVo 4g lte's was written screwed up by HTC. Maybe yours is like that too. My rom maker and other devs have done many fixes for it. It has got better but my eVo and eVo 3d still multitask better, and it is true multitasking. It doesn't work like I'm talking about on all devices, but for u to say it's all of Android.......... It's not.
Swyped from my eVo
The mulittasking in Android has some limits which are quite annoying. On my Droid 3 apps that I haven't used will start in the background and waste RAM so there isn't enough RAM to multitask and the device is laggy. I tried rooting and freezing bloatware, but other apps have just filled the void by automatically running in the background. I really wish the user had more control over multitasking. Unless I open an app I don't want it to start in the background, even if there is enough free RAM. But Motorola makes some pretty bad software so this could be the issue.
On my Touchpad with CM9 multitasking is quite a bit better. Not sure if its having 1GB of RAM, improvements in ICS, or just CM but you can actually run several programs at once without them closing, so my browser pages stay loaded.
gagdude said:
Android has true multitasking, but... eh here's a link. Read yourself.
http://android-developers.blogspot.com/2010/04/multitasking-android-way.html?m=1
Sent from my MB508 using xda premium
Click to expand...
Click to collapse
gagdude said:
What you are asking for is basically to completely change core Android behavior.
Sorry, but its just not possible
Sent from my DROID2 using xda premium
Click to expand...
Click to collapse
Then how come this was possible on iOS?
My iPad 1 was a multitasking beast with just 2 tweaks - Swap and Backgrounder.
Everything was smooth. And yet I can't get the same on devices with 4 times more RAM?
gagdude said:
What you are asking for is basically to completely change core Android behavior.
Sorry, but its just not possible
Sent from my DROID2 using xda premium
Click to expand...
Click to collapse
Did it weeks ago. Maximum Overdrive to bypass Maximum hidden app limit.
Just grab the Ultimate Jar PowerTools script or the windows exe version.
http://goo.gl/1JPl8
Also read Post 2 of the thread for a link to the windows.exe
Currently hacking Sense 4+ which seems to be working well.
http://forum.xda-developers.com/showthread.php?t=1900626
Tried V6 - but apps I bulletproofed still get killed.
So yeah. Looks like the only thing I can do is wait until webOS gets ported to my tablet...
SilverHedgehog said:
Tried V6 - but apps I bulletproofed still get killed.
So yeah. Looks like the only thing I can do is wait until webOS gets ported to my tablet...
Click to expand...
Click to collapse
Did you patch services.jar with the multitasking mods?
Yes, with "Jelly ISCream Automatic Patcher".
V6 script showed me that I'm 100% supercharged.
well...I didn't experienced these kind of problem before. android indeed has good multitasking stuff. the number of app running on background depend on the ram size. you can't expect to run such heavy app with huge ram consumption on such device with low ram. anyway, you can try to play with minfree stuff. try to minimilize the value
The Note 10.1 can have side by side applications, is this what you kinda mean?
Sent from my XT862 using Tapatalk 2
SilverHedgehog said:
Yes, with "Jelly ISCream Automatic Patcher".
V6 script showed me that I'm 100% supercharged.
Click to expand...
Click to collapse
Well the latest one is actually called Ultimate Jar Power Tools so if you ran that, and enable Maximum Multitasking Mods, then you should be getting better multitasking/app reloads.
The windows exe would do the same thing of course and is up to date.... well until I update it later cause I'm adding the Sense 4 mod.
Any idea about how many apps you can run before vs after?
oops... double post

Categories

Resources