We have moved to a new Sailfish OS Forum. Please start new discussions there.
3

Apps on homescreen stopping

asked 2020-02-23 12:37:14 +0200

pw338 gravatar image

I usually have about 10 apps running, so they are visible on the homescreen, they include the clock and battery log. Every now and then I notice that the clock app is out of sync with the actual time, and when pressing the icon I notice it really starting anew. The same happens with the battery log, but also other apps. When looking closely, the affected apps seem to be slighly greyer, but that's hard to see. This happens sometimes within hours or sometimes takes days to happen.

Anyway, what I want to know is why do these apps randomly keep stopping? Do I need to switch to them every now and then to keep them running, or are they buggy and keep crashing in the background? Or am I just confused about a basic feature of SFOS?

This is with SFOS 3.2.1.20 on an Xperia 10.

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
5

answered 2020-02-23 15:56:11 +0200

Spark gravatar image

updated 2020-02-23 15:59:45 +0200

Probably these are out of memory (OOM) kills. Ten parallel apps is a lot, you might want to reduce the number. Otherwise search this forum for "oom kills" or "out of memory" for advanced solutions. Maybe start with this or this.

edit flag offensive delete publish link more

Comments

Interesting, thanks for the pointers! I had not realized that on a system with 3 GB RAM this would be an issue. But then I don't understand why the apps with the lowest memory footprint are getting killed, like the clock (uses only 22 MB RES according to top running in the Terminal) or the battery log (27 MB) get killed (most often), while the OSM Scout Server (70 MB) or some Android apps (>100 MB) do not.

top also tells me that quite a lot of RAM (> 400 MB) is used by cache buffers, so in principle there is space. But I have now to watch this some more.

Is there a log where I can check, if something got killed because of OOM? /var/log is basiclly empty and journalctl does not give me anything, either.

pw338 ( 2020-02-24 10:48:47 +0200 )edit
1

Ah, apparently Podcatcher easily uses 1.5 GB alone, and when I have osm-scout-server running at the same time, especially after doing some searches, it takes 500+ MB as well. No wonder that other stuff gets OOM-killed.

pw338 ( 2020-02-25 09:47:35 +0200 )edit
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2020-02-23 12:37:14 +0200

Seen: 239 times

Last updated: Feb 23 '20