[Xperia X] [2.1.4] systemd taking up two full CPUs [answered]
In the latest weeks, on the Xperia X, it's happening that systemd starts using high percentages of two CPUs. One of the offending tasks has PID 1. The only solution I found so far is to reboot the phone. The phenomenon might be related to the use of certain Android apps; in particular, the game Hay Day appears to trigger it. I still have to investigate more about this.
EDIT: The issue is due to a leftover from OSM Scout Server. See answer for the solution.
What do the logs say ( journalctl -f as root) is there some service contantly being restarted? You would see that in logs then. This would eat much cpu, had same Problem on my Xperia after i deinstalled WifiKill3r and the service was still enabled.
jayki ( 2018-04-26 17:58:57 +0200 )edit@jayki Good point. systemd is continuously trying to spawn osmscout-server.service, which I have removed. I wonder who is trying that and why.
Giacomo Di Giacomo ( 2018-04-26 18:17:18 +0200 )editOkay, a workaround is reinstalling OSM Scout Server, which I would rather not do because of the tiny system partition. Any ideas about who might be trying to launch OSM Scout Server, or where might I check for some leftovers from past installations?
Giacomo Di Giacomo ( 2018-04-26 18:32:49 +0200 )editIt sounds like there is something broken in the uninstallation process, worth reporting here: https://github.com/rinigus/osmscout-server/issues
nthn ( 2018-04-26 21:44:00 +0200 )editRight @nthn, issue reported.
Giacomo Di Giacomo ( 2018-04-27 10:25:52 +0200 )edit