5,593,458 Members 36,723 Now Online
XDA Developers Android and Mobile Development Forum

"System" process constantly using 50% CPU

Tip us?
 
dirkdigles
Old
(Last edited by dirkdigles; 24th December 2013 at 12:13 AM.)
#1  
dirkdigles's Avatar
Senior Member - OP
Thanks Meter 100
Posts: 340
Join Date: Nov 2010
Location: Chicago
Default "System" process constantly using 50% CPU

Hi All,

Having some issues with my phone. I'm on CNexus' 4.3 stock MK3 rom. The only mods I've done to it is disabling some of the bloat with TB and also have Wanam Xposed installed.

Note that I have seen this behavior on other roms too.

Usually within a day or 2 of doing a reboot, the "system" process will begin using 50% CPU all the time. No wakelocks show up in BBS, and "android system" doesn't show increased usage in the stock battery stats, however other apps can see it happening.

I took a few screenshots with System Panel to show - after running it's monitoring function for a few hours. I also used the command "top" in terminal emulator to generate a text file showing the results:

Code:
User 23%, System 34%, IOW 0%, IRQ 0%
User 13 + Nice 141 + Sys 228 + Idle 271 + IOW 0 + IRQ 0 + SIRQ 0 = 653

  PID PR CPU% S  #THR     VSS     RSS PCY UID      Name
  778  0  49% S   143 771668K 149192K  fg system   system_server
10258  0   4% R     1   1336K    644K     root     top
  381  1   1% S     8  10628K   1808K     root     /system/bin/netd
 8713  1   0% S     1      0K      0K     root     kworker/u:4
 1668  0   0% S     5   5244K    608K     root     /system/bin/mpdecision
I have renamed qsiff_daemon to .bak to see if it would help with the issue, however it did not. Qosmgr file apparently doesn't exist in this rom.

As you can see in the screenshots, System is at maximum CPU (this is with my phone sitting idle), and it is using a lot of CPU time when my phone was otherwise doing nothing. I also attached a screenshot of OS Monitor showing the process in detail.

Does anyone else have this issue? Any ideas on how to solve it? I can't seem to find a way to get any details as to what "System" is and if there are sub-processes that make it up.

EDIT: More details. Ran Top again, this time so it would name the thread:

Code:
User 23%, System 38%, IOW 0%, IRQ 0%
User 14 + Nice 162 + Sys 284 + Idle 283 + IOW 0 + IRQ 0 + SIRQ 0 = 743

  PID   TID PR CPU% S     VSS     RSS PCY UID      Thread          Proc
  778  1283  0  48% R 779916K 146584K  bg system   CountryDetector system_server
12255 12255  1   8% R   1840K   1152K  fg u0_a210  top             top
8455  8455  0   0% S      0K      0K     root     kworker/u:3
  778   903  0   0% S 779916K 146584K  fg system   er.ServerThread system_server
1668  1687  0   0% S   5244K    608K     root     mpdecision      /system/bin/mpdecision
CountryDetector??
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2013-12-23-17-11-29.png
Views:	390
Size:	213.6 KB
ID:	2471186   Click image for larger version

Name:	Screenshot_2013-12-23-17-13-15.png
Views:	418
Size:	161.4 KB
ID:	2471187   Click image for larger version

Name:	Screenshot_2013-12-23-17-28-37.png
Views:	341
Size:	204.2 KB
ID:	2471188   Click image for larger version

Name:	Screenshot_2013-12-23-17-30-21.png
Views:	362
Size:	197.9 KB
ID:	2471194  
If my post helped you, hit the thanks button!

Phone: Samsung Galaxy SIII SPH-L710 flashed to VZW MVNO
ROM: MSG & Chubbz v5.0.2
Kernel: Stock
 
lsuchocki
Old
#2  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Feb 2011
Quote:
Originally Posted by dirkdigles View Post
Hi All,

Having some issues with my phone. I'm on CNexus' 4.3 stock MK3 rom. The only mods I've done to it is disabling some of the bloat with TB and also have Wanam Xposed installed.

Note that I have seen this behavior on other roms too.

Usually within a day or 2 of doing a reboot, the "system" process will begin using 50% CPU all the time. No wakelocks show up in BBS, and "android system" doesn't show increased usage in the stock battery stats, however other apps can see it happening.

I took a few screenshots with System Panel to show - after running it's monitoring function for a few hours. I also used the command "top" in terminal emulator to generate a text file showing the results:

Code:
User 23%, System 34%, IOW 0%, IRQ 0%
User 13 + Nice 141 + Sys 228 + Idle 271 + IOW 0 + IRQ 0 + SIRQ 0 = 653

  PID PR CPU% S  #THR     VSS     RSS PCY UID      Name
  778  0  49% S   143 771668K 149192K  fg system   system_server
10258  0   4% R     1   1336K    644K     root     top
  381  1   1% S     8  10628K   1808K     root     /system/bin/netd
 8713  1   0% S     1      0K      0K     root     kworker/u:4
 1668  0   0% S     5   5244K    608K     root     /system/bin/mpdecision

CountryDetector??
Same issue here. I tried strace'ing the process, and it stopped spinning. I also could no longer wake my screen and performed a 'reset' from adb.
I was seeing a slew of "SensorManager Error: Sensor Event is null for Sensor: null" messages going through.
 
dirkdigles
Old
#3  
dirkdigles's Avatar
Senior Member - OP
Thanks Meter 100
Posts: 340
Join Date: Nov 2010
Location: Chicago
Quote:
Originally Posted by lsuchocki View Post
Same issue here. I tried strace'ing the process, and it stopped spinning. I also could no longer wake my screen and performed a 'reset' from adb.
I was seeing a slew of "SensorManager Error: Sensor Event is null for Sensor: null" messages going through.
My error ended up having to do with location services... I ended up enabling "Access to my location" and "Use GPS Satellites" in location services, but left "use wireless networks" disabled.

Since then I have installed decimalman's 12/26 kernel. Running rock solid with no abnormal wakelocks since (however my idle battery life seems a little worse).
If my post helped you, hit the thanks button!

Phone: Samsung Galaxy SIII SPH-L710 flashed to VZW MVNO
ROM: MSG & Chubbz v5.0.2
Kernel: Stock
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes