Ask / Submit

system_server eating up CPU [duplicate]

asked 2017-05-11 11:59:53 +0300

DrYak gravatar image

I've recently noticed poor battery life on my Jolla 1. After investigating ( top in terminal or ssh ), I've noticed that often android's system_server end up eventually eating all CPU cycles.

I've tried various approaches (e.g.: force-stopping all installed android apps), the only one that works is shutting down and restarting alien-dalvik (systemctl restart alien-dalvik.service or from GUI).

Sadly I don't know android well enough to investigate better (I'm more a vanilla GNU/Linux guy). Is there a way to get logs from system_server, I would like to pin point down which element is causing this high cpu usage.

I'm running Sailfish OS "Iijoki"

edit retag flag offensive reopen delete

The question has been closed for the following reason "duplicate question" by nthn
close date 2017-05-11 16:47:06.991096

1 Answer

Sort by » oldest newest most voted

answered 2017-05-11 16:47:00 +0300

nthn gravatar image

This has been a problem since the beginning, never fixed and no one seems to know what's causing it. Either way this is a duplicate:

edit flag offensive delete publish link more



Yes, I know of this question. It is returned when searching

Technically it's not a duplicate :

  • I'm complaining about CPU usage keeping stuck ~98%.
  • @jkario and @Manankanchu are complaining of system_server consuming more RAM+swap than available.

Read again my post carefully :

  • I'm not asking for a solution.
  • I'm asking Is there a way to get logs from system_server, I would like to pin point down which element is causing this high cpu usage.

BTW, problem affect even Android running on other smartphone (Apparently it's also a frequent problem on some Samsung Galaxys).

DrYak ( 2017-05-11 18:03:30 +0300 )edit

@nthn i agree with @DrYak that's not a dupe.the thread that you mentioned report a problem with the memory place of the process, not the cpu usage... similar but not the same.
Imagine, If this one is closed a duplicate, then its information won't be used.
That is 2 separate bugs is not to exclude.
My point of view is the job to jolla team, to cross information of both, or to let separately. they have the code under the nose. ;-)

cemoi71 ( 2017-05-12 09:56:03 +0300 )edit

Technically, it isn't that much Jolla, but Myriad who have the code under their nose (as they are the 3rd party making the Alien-dalvik component for Android support ) and Google (as it is a standard Android component ).

But yeah, memoryleak is very likely not caused by the same problem as CPU hog.

now if someone could point me in the right direction to check the logs...

DrYak ( 2017-05-12 11:09:40 +0300 )edit

@DrYak but technically jolla is confronted to develop the integration of the alien.d.
And i can represent my self that's not so easy to do this. As i remember the alien.d is a proprio software <=> black-box.

cemoi71 ( 2017-05-12 11:53:02 +0300 )edit

Question tools



Asked: 2017-05-11 11:59:53 +0300

Seen: 795 times

Last updated: May 11 '17

Related questions