Runaway /system/bin/sh

Discussion in 'Bugless' started by Se7enLC, May 6, 2010.

  1. Se7enLC

    Se7enLC Active Member

    Joined:
    Nov 16, 2009
    Messages:
    1,262
    Likes Received:
    0
    Trophy Points:
    36
    Ratings:
    +0
    Has anybody else seen this?

    Every so often I notice my phone being REALLY unresponsive and the CPU is pegged. I open terminal emulator and run top, and I see a root-owned process of /system/bin/sh taking up 90% of the CPU. I have to use kill -9 to end it, and the system comes back to life again.

    Not sure if it's something I did or something that came with the rom. Anybody else seem it before?
     
  2. JhankG

    JhankG Silver Member

    Joined:
    Nov 1, 2009
    Messages:
    3,090
    Likes Received:
    0
    Trophy Points:
    101
    Location:
    Summerfield, NC
    Ratings:
    +0
    Subscribing. Very interesting find.
     
  3. obededom

    obededom Member

    Joined:
    Jan 19, 2010
    Messages:
    124
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Ohio
    Ratings:
    +0

    why? I'm dumb.
     
  4. Jim 777

    Jim 777 Silver Member

    Joined:
    Dec 26, 2009
    Messages:
    2,306
    Likes Received:
    32
    Trophy Points:
    113
    Ratings:
    +33
    What's top and more importantly, how do I stop it???
     
  5. ldimick

    ldimick Member

    Joined:
    Nov 28, 2009
    Messages:
    629
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    top is a linux command/script that shows running processes sorted by the amount of processor they are consuming. Good tool to see what is causing lag.

    After identifying the prob process you can issue a kill command. There are (I think) 7 kill levels. Some are just like closing a program - they clean up after themselves. a Kill -9 is about as nasty as it gets. The end result can be lots of 'garbage' left behind.

    This is one way that Linux is technically superior to Windows. The process management is more versatile and Linux has less processes that are part of the kernel. So this forces less reboots.
     
Search tags for this page

/system/bin/sh

,
amderoid sh process
,

android sh process

,

system/bin/sh