Author Topic: Phone Vibrating and browser closing out after extended web browsing.  (Read 5062 times)

0 Members and 1 Guest are viewing this topic.

  • Thank You
  • -Given: 71
  • -Receive: 20
  • serfassmike

    Posts: 219
    User Rating: +24/-0
    Offline
    • Board Moderator
    • *
    • Sr. Member
    Does any other centura owner have this problem? It happens with my stock browser and also happens with Dolphin Browser Mini. Any help with this would be great. Does it have to do with minfree values possibly?
    • Stock
    • Samsung Galaxy S2 s959g/i777
    • TWRP
    • None
    • Rooted-Rom

  • Thank You
  • -Given: 139
  • -Receive: 722
  • daddy366

    Posts: 2692
    User Rating: +887/-9
    Offline
    • Administrator
    • *
    • PostMaster General
    • Personal Text
      IRC Server Admin,Global Moderator,TeamCentura
    might be if your running my swap kernel....you might have to change the values to get them to run right
    • Custom
    • Nexus 5x
    • TWRP
    • None
    • Rooted-Rom
    Never forget for they gave it all


    If i have helped you in any way think about making a donation to keep this site up and running

    PayPal....... You are not allowed to view links. Register or Login
    You are not allowed to view links. Register or Login






  • Thank You
  • -Given: 71
  • -Receive: 20
  • serfassmike

    Posts: 219
    User Rating: +24/-0
    Offline
    • Board Moderator
    • *
    • Sr. Member
    I am running your swap kernel, but this has happened even with stock kernel, and after doing research and stumbling upon minfree and what that
    does, i thought i would ask about it. Can you share any knowledge you might have about minfree values, like what numbers and values i should set, and which settings would work best for the amount of actual ram that i have, which is 396 mb. Thanks
    • Stock
    • Samsung Galaxy S2 s959g/i777
    • TWRP
    • None
    • Rooted-Rom

  • Thank You
  • -Given: 139
  • -Receive: 722
  • daddy366

    Posts: 2692
    User Rating: +887/-9
    Offline
    • Administrator
    • *
    • PostMaster General
    • Personal Text
      IRC Server Admin,Global Moderator,TeamCentura
    Not enough about it to really be o fmuch help but this link should explain what you need to know

    You are not allowed to view links. Register or Login


    make sure you read it all first before changing or doing anything to the phone............
    • Custom
    • Nexus 5x
    • TWRP
    • None
    • Rooted-Rom
    Never forget for they gave it all


    If i have helped you in any way think about making a donation to keep this site up and running

    PayPal....... You are not allowed to view links. Register or Login
    You are not allowed to view links. Register or Login






  • Thank You
  • -Given: 37
  • -Receive: 50
  • Lael

    Posts: 373
    User Rating: +92/-0
    Offline
    • Global Moderator
    • *
    • Hero Member
    • Personal Text
      The dog is the god of frolic
    Also, is your vm.oom_kill_allocating_task enabled (set to 1) or disabled (set to 0)? If enabled, when you run out of memory it will kill the task that triggered the out of memory situation.  It sounds like your browser might be triggering it and force closing.  When disabled, when you run out of memory it will be a kill a rogue memory hogging task to kill to free up memory, based on heuristics, but it not quite as efficient as it has to scan through the entire task list to select a task to kill. 

    So disable it and see if that helps.
    • ElementalX
    • Hammerhead
    • TWRP
    • None
    • Rooted-Rom
    “If there are no dogs in Heaven, then when I die I want to go where they went.”
    —Will Rogers

                                            
    You are not allowed to view links. Register or Login  

    “If a dog will not come to you after having looked you in the face, you should go home and examine your conscience.”
    —Woodrow Wilson








  • Thank You
  • -Given: 139
  • -Receive: 722
  • daddy366

    Posts: 2692
    User Rating: +887/-9
    Offline
    • Administrator
    • *
    • PostMaster General
    • Personal Text
      IRC Server Admin,Global Moderator,TeamCentura
    Also you can start posting any questions about the centura in the centura  forum......this way some one else looking for answers will find them there...................
    • Custom
    • Nexus 5x
    • TWRP
    • None
    • Rooted-Rom
    Never forget for they gave it all


    If i have helped you in any way think about making a donation to keep this site up and running

    PayPal....... You are not allowed to view links. Register or Login
    You are not allowed to view links. Register or Login






  • Thank You
  • -Given: 71
  • -Receive: 20
  • serfassmike

    Posts: 219
    User Rating: +24/-0
    Offline
    • Board Moderator
    • *
    • Sr. Member
    Ok, thank you daddy for the link, i will read it. And a question for lael, where do i look for those settings to enable or disable?
    • Stock
    • Samsung Galaxy S2 s959g/i777
    • TWRP
    • None
    • Rooted-Rom

  • Thank You
  • -Given: 37
  • -Receive: 50
  • Lael

    Posts: 373
    User Rating: +92/-0
    Offline
    • Global Moderator
    • *
    • Hero Member
    • Personal Text
      The dog is the god of frolic
    You are not allowed to view links. Register or Login
    Ok, thank you daddy for the link, i will read it. And a question for lael, where do i look for those settings to enable or disable?

    They are in the sys.ctl settings.  They can be found in the sysctl.conf file if you have one (/system/etc).  If you don't you can use an app like 3C Toolbox which allows you to modify those and other kernel settings.  I don't have a sysctl.conf file (I think its rom dependent if you have one or not.  I seem to remember you mentioning you created that file for something related to the swap kernel.  If you did, even if you have that file those sysctl settings might not be in there) so I usually use 3C Toolbox to tweak my kernel settings when I'm not running a script that does it.

     
    • ElementalX
    • Hammerhead
    • TWRP
    • None
    • Rooted-Rom
    “If there are no dogs in Heaven, then when I die I want to go where they went.”
    —Will Rogers

                                            
    You are not allowed to view links. Register or Login  

    “If a dog will not come to you after having looked you in the face, you should go home and examine your conscience.”
    —Woodrow Wilson








  • Thank You
  • -Given: 71
  • -Receive: 20
  • serfassmike

    Posts: 219
    User Rating: +24/-0
    Offline
    • Board Moderator
    • *
    • Sr. Member
    Ok thanks
    • Stock
    • Samsung Galaxy S2 s959g/i777
    • TWRP
    • None
    • Rooted-Rom

  • Thank You
  • -Given: 71
  • -Receive: 20
  • serfassmike

    Posts: 219
    User Rating: +24/-0
    Offline
    • Board Moderator
    • *
    • Sr. Member
    3c toolbox is a little confusing to me. Which settings would i change to tell my phone to swap and keep memory free when running my browser and web browsing so the browser doesnt run out of memory and vib and force close? I am running daddys swap kernel with a 200mb swapfile. Or would something like minfree manager be a better tool for this situation?
    • Stock
    • Samsung Galaxy S2 s959g/i777
    • TWRP
    • None
    • Rooted-Rom

    Re: Phone Vibrating and browser closing out after extended web browsing.

    « Reply #10 on: May 04, 2015, 05:18:41 PM »
  • Thank You
  • -Given: 37
  • -Receive: 50
  • Lael

    Posts: 373
    User Rating: +92/-0
    Offline
    • Global Moderator
    • *
    • Hero Member
    • Personal Text
      The dog is the god of frolic
    You are not allowed to view links. Register or Login
    3c toolbox is a little confusing to me. Which settings would i change to tell my phone to swap and keep memory free when running my browser and web browsing so the browser doesnt run out of memory and vib and force close? I am running daddys swap kernel with a 200mb swapfile. Or would something like minfree manager be a better tool for this situation?

    When in 3C Toolbox:
    1-Go into system manager
    2- There will be about 9 tabs on top.  Tap on SysCtl
    3- Scroll down to vm.oom_kill_allocating_task.  It will be near the bottom
    4-You'll then see if it is enabled or disabled.  Uncheck box to disable.

    This has nothing to do with swap.  See post #4 for what it does.  This is just the first thing I thought of when you explained the problem.  Sometimes when I run Antutu (which seems to be heavy on memory even though it frees up memory before you run it) with that setting enabled it force closes and vibrates, but when I disable it it runs fine. 

    There also might be something else going on.  You may also want to try to reinstall Dolphin browser or at least clear the cache and data.  Sometimes that helps when apps act weird. 

    Before messing around with any settings in 3C Toolbox, its always a good idea to create a CWM\TWRP restore so you can always revert to your default settings.  To do this, go into system manager, tap on One-click, and you'll see it at the top .  Its also good to read through the online help pages and the threads to understand all 3C Toolbox does:

    You are not allowed to view links. Register or Login
    • ElementalX
    • Hammerhead
    • TWRP
    • None
    • Rooted-Rom
    “If there are no dogs in Heaven, then when I die I want to go where they went.”
    —Will Rogers

                                            
    You are not allowed to view links. Register or Login  

    “If a dog will not come to you after having looked you in the face, you should go home and examine your conscience.”
    —Woodrow Wilson








    Re: Phone Vibrating and browser closing out after extended web browsing.

    « Reply #11 on: May 04, 2015, 06:38:58 PM »
  • Thank You
  • -Given: 71
  • -Receive: 20
  • serfassmike

    Posts: 219
    User Rating: +24/-0
    Offline
    • Board Moderator
    • *
    • Sr. Member
    Is there a way to tell the kernel to start swapping processes out to the swapfile when a certain number of mb of ram are being used, but not for the main process that im using to be swapped out, just the stuff in the background? Cause the running processes on my phone are important and relevant, like antivirus and i dont want that killed, just swapped out to the swapfile and kept alive
    • Stock
    • Samsung Galaxy S2 s959g/i777
    • TWRP
    • None
    • Rooted-Rom

    Re: Phone Vibrating and browser closing out after extended web browsing.

    « Reply #12 on: May 04, 2015, 08:35:12 PM »
  • Thank You
  • -Given: 37
  • -Receive: 50
  • Lael

    Posts: 373
    User Rating: +92/-0
    Offline
    • Global Moderator
    • *
    • Hero Member
    • Personal Text
      The dog is the god of frolic
    I'm not sure of individual processes, maybe someone else with more knowledge will know.  However, you can adjust your swappiness settings so that more memory is moved to your swap file/partition.  If I remember correctly, the default swappiness value is 60 (this is a percentage).  If you want more memory to go to swap, then increase this number.  This kind of sounds like what you want to do.  But increasing it can create some lag on your device, as sd cards are much slower than physical ram, so performance may be decreased.

    To do this in 3C Toolbox, again go to system manager, then to sysctl, and you will find the settings (vm.swappiness) near the bottom, a little bit below the vm.oom_kill_allocating_task setting
    • ElementalX
    • Hammerhead
    • TWRP
    • None
    • Rooted-Rom
    “If there are no dogs in Heaven, then when I die I want to go where they went.”
    —Will Rogers

                                            
    You are not allowed to view links. Register or Login  

    “If a dog will not come to you after having looked you in the face, you should go home and examine your conscience.”
    —Woodrow Wilson








    Re: Phone Vibrating and browser closing out after extended web browsing.

    « Reply #13 on: May 04, 2015, 08:40:14 PM »
  • Thank You
  • -Given: 71
  • -Receive: 20
  • serfassmike

    Posts: 219
    User Rating: +24/-0
    Offline
    • Board Moderator
    • *
    • Sr. Member
    Ok, thank you. I will see what i can do and tinker around a little. I have my swapiness set to 100.
    • Stock
    • Samsung Galaxy S2 s959g/i777
    • TWRP
    • None
    • Rooted-Rom

    Re: Phone Vibrating and browser closing out after extended web browsing.

    « Reply #14 on: May 04, 2015, 08:52:58 PM »
  • Thank You
  • -Given: 37
  • -Receive: 50
  • Lael

    Posts: 373
    User Rating: +92/-0
    Offline
    • Global Moderator
    • *
    • Hero Member
    • Personal Text
      The dog is the god of frolic
    What antivirus are you using? It shouldn't be getting killed as most antivirus apps are written so they are put in the lower OOM groupings such as visible applications, which are almost the last to get killed.  You may just have too much stuff running in the background.

    However, you can change the nice settings of an app with 3C Toolbox to give it a higher priority (lowering the nice value) so that it is harder to kill.  To do this, go into Task Manager, tap the app you want to adjust (the app has to been running in memory to be listed), and under Details you will see the nice/priority setting (prio).  then slide the lever towards hi (for higher priority) and also check the checkbox.  This should give the app a higher priority so that when you start to run out of memory it will be one of the last ones to be killed.
    • ElementalX
    • Hammerhead
    • TWRP
    • None
    • Rooted-Rom
    “If there are no dogs in Heaven, then when I die I want to go where they went.”
    —Will Rogers

                                            
    You are not allowed to view links. Register or Login  

    “If a dog will not come to you after having looked you in the face, you should go home and examine your conscience.”
    —Woodrow Wilson








    Re: Phone Vibrating and browser closing out after extended web browsing.

    « Reply #15 on: May 05, 2015, 08:41:36 PM »
  • Thank You
  • -Given: 71
  • -Receive: 20
  • serfassmike

    Posts: 219
    User Rating: +24/-0
    Offline
    • Board Moderator
    • *
    • Sr. Member
    Im using AVG. It hasnt gotten killed at all. I just wanted to make sure that it didnt get killed at all and that the kernel takes and kills cached background processes that arent being used and freeing up that memory to be put back into the free ram pool so it can be used to stop my phone from vibing and the web browser to not close out due to lack of memory.
    • Stock
    • Samsung Galaxy S2 s959g/i777
    • TWRP
    • None
    • Rooted-Rom

    Re: Phone Vibrating and browser closing out after extended web browsing.

    « Reply #16 on: May 05, 2015, 09:11:39 PM »
  • Thank You
  • -Given: 37
  • -Receive: 50
  • Lael

    Posts: 373
    User Rating: +92/-0
    Offline
    • Global Moderator
    • *
    • Hero Member
    • Personal Text
      The dog is the god of frolic
    If you don't need an app to be running in the background that is running in the background, just crystalize them with 3C Toolbox or hibernate them with Greenify
    • ElementalX
    • Hammerhead
    • TWRP
    • None
    • Rooted-Rom
    “If there are no dogs in Heaven, then when I die I want to go where they went.”
    —Will Rogers

                                            
    You are not allowed to view links. Register or Login  

    “If a dog will not come to you after having looked you in the face, you should go home and examine your conscience.”
    —Woodrow Wilson








    Re: Phone Vibrating and browser closing out after extended web browsing.

    « Reply #17 on: May 05, 2015, 09:28:05 PM »
  • Thank You
  • -Given: 71
  • -Receive: 20
  • serfassmike

    Posts: 219
    User Rating: +24/-0
    Offline
    • Board Moderator
    • *
    • Sr. Member
    The stuff running in the background is just needed system apps and cached background system apps that arent being used. So all is good for now. Im using minfree manager and so far no vibing and browser closing. I also moved my swapfile to internal storage of the phone instead of
    the external sd card. I will move the swapfile back onto the external sd and see if the phone
    vibs and the web browser closes, if it does, then its because of being on the ext sd card, if it doesnt
    then i would assume that minfree manager fixed the issue. Thanks for all your help and suggestions.
    • Stock
    • Samsung Galaxy S2 s959g/i777
    • TWRP
    • None
    • Rooted-Rom

    Re: Phone Vibrating and browser closing out after extended web browsing.

    « Reply #18 on: May 05, 2015, 09:34:20 PM »
  • Thank You
  • -Given: 37
  • -Receive: 50
  • Lael

    Posts: 373
    User Rating: +92/-0
    Offline
    • Global Moderator
    • *
    • Hero Member
    • Personal Text
      The dog is the god of frolic
    no problem
    • ElementalX
    • Hammerhead
    • TWRP
    • None
    • Rooted-Rom
    “If there are no dogs in Heaven, then when I die I want to go where they went.”
    —Will Rogers

                                            
    You are not allowed to view links. Register or Login  

    “If a dog will not come to you after having looked you in the face, you should go home and examine your conscience.”
    —Woodrow Wilson








    Re: Phone Vibrating and browser closing out after extended web browsing.

    « Reply #19 on: May 05, 2015, 09:39:59 PM »
  • Thank You
  • -Given: 37
  • -Receive: 50
  • Lael

    Posts: 373
    User Rating: +92/-0
    Offline
    • Global Moderator
    • *
    • Hero Member
    • Personal Text
      The dog is the god of frolic
    By the way, 3C Toolbox can do the exact same thing as minfreemanager if you want to use 1 less app
    • ElementalX
    • Hammerhead
    • TWRP
    • None
    • Rooted-Rom
    “If there are no dogs in Heaven, then when I die I want to go where they went.”
    —Will Rogers

                                            
    You are not allowed to view links. Register or Login  

    “If a dog will not come to you after having looked you in the face, you should go home and examine your conscience.”
    —Woodrow Wilson








    Re: Phone Vibrating and browser closing out after extended web browsing.

    « Reply #20 on: May 05, 2015, 10:42:18 PM »
  • Thank You
  • -Given: 139
  • -Receive: 722
  • daddy366

    Posts: 2692
    User Rating: +887/-9
    Offline
    • Administrator
    • *
    • PostMaster General
    • Personal Text
      IRC Server Admin,Global Moderator,TeamCentura
    I think you 2 need to get together and make a post on the whole process........i think it will come in handy..........
    • Custom
    • Nexus 5x
    • TWRP
    • None
    • Rooted-Rom
    Never forget for they gave it all


    If i have helped you in any way think about making a donation to keep this site up and running

    PayPal....... You are not allowed to view links. Register or Login
    You are not allowed to view links. Register or Login






    Re: Phone Vibrating and browser closing out after extended web browsing.

    « Reply #21 on: May 05, 2015, 11:19:34 PM »
  • Thank You
  • -Given: 37
  • -Receive: 50
  • Lael

    Posts: 373
    User Rating: +92/-0
    Offline
    • Global Moderator
    • *
    • Hero Member
    • Personal Text
      The dog is the god of frolic
    I can do that, no problem, but what would be main topic?

    How to keep an app from force closing due to running out of memory or something like that?

    I'll wait till he reports back on whether it was the swap file on extsd card or minfree settings that was causing problems.

    serfassmike, if you're willing, you should write down all the steps you took since I really don't know what all you did...
    • ElementalX
    • Hammerhead
    • TWRP
    • None
    • Rooted-Rom
    “If there are no dogs in Heaven, then when I die I want to go where they went.”
    —Will Rogers

                                            
    You are not allowed to view links. Register or Login  

    “If a dog will not come to you after having looked you in the face, you should go home and examine your conscience.”
    —Woodrow Wilson








    Re: Phone Vibrating and browser closing out after extended web browsing.

    « Reply #22 on: May 05, 2015, 11:36:02 PM »
  • Thank You
  • -Given: 139
  • -Receive: 722
  • daddy366

    Posts: 2692
    User Rating: +887/-9
    Offline
    • Administrator
    • *
    • PostMaster General
    • Personal Text
      IRC Server Admin,Global Moderator,TeamCentura
    on every thing that you 2 have done as far as swap,memory,apps that you used,settings,any and every think that makes your centura run the way it does..........main topic could me setting swap up, or making centura faster, im sure you 2 can come up with some thing......
    • Custom
    • Nexus 5x
    • TWRP
    • None
    • Rooted-Rom
    Never forget for they gave it all


    If i have helped you in any way think about making a donation to keep this site up and running

    PayPal....... You are not allowed to view links. Register or Login
    You are not allowed to view links. Register or Login






    Re: Phone Vibrating and browser closing out after extended web browsing.

    « Reply #23 on: May 05, 2015, 11:54:05 PM »
  • Thank You
  • -Given: 37
  • -Receive: 50
  • Lael

    Posts: 373
    User Rating: +92/-0
    Offline
    • Global Moderator
    • *
    • Hero Member
    • Personal Text
      The dog is the god of frolic
    I get your drift... Sounds good.  It would be nice to have a bunch of stuff like that on the Centura in 1 spot...

    Afterthought: His browser force closing probably has nothing to do with swap and the swap kernel since he said it also did it on the stock kernel not using swap...
    • ElementalX
    • Hammerhead
    • TWRP
    • None
    • Rooted-Rom
    “If there are no dogs in Heaven, then when I die I want to go where they went.”
    —Will Rogers

                                            
    You are not allowed to view links. Register or Login  

    “If a dog will not come to you after having looked you in the face, you should go home and examine your conscience.”
    —Woodrow Wilson








    Re: Phone Vibrating and browser closing out after extended web browsing.

    « Reply #24 on: May 06, 2015, 12:00:19 AM »
  • Thank You
  • -Given: 139
  • -Receive: 722
  • daddy366

    Posts: 2692
    User Rating: +887/-9
    Offline
    • Administrator
    • *
    • PostMaster General
    • Personal Text
      IRC Server Admin,Global Moderator,TeamCentura
    If your post fixed his problem with it FC include that in the post,and any thing else you 2 would like to add to it........if you would add links to any thing that you 2 used.........you can include apps as long as there free and not hacked.........
    • Custom
    • Nexus 5x
    • TWRP
    • None
    • Rooted-Rom
    Never forget for they gave it all


    If i have helped you in any way think about making a donation to keep this site up and running

    PayPal....... You are not allowed to view links. Register or Login
    You are not allowed to view links. Register or Login






    Tags: