OOM score for apps waiting on content hub should be adjusted

Bug #1421241 reported by Michael Zanetti on 2015-02-12
48
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Canonical System Image
High
Bill Filler
Ubuntu Application Launcher
New
High
Unassigned
content-hub (Ubuntu)
High
Unassigned
qtmir (Ubuntu)
High
Unassigned

Bug Description

I happens that the app gets killed by OOM while it is being put into background importing something from the content hub. I think apps waiting on something from the content hub should have a better OOM score to make it less likely. Even if the app is restarted automatically after picking content from the hub, the transfer will fail because it lost the pointer to the transfer object.

On bq, if apps have some data in it, this becomes really a problem. For example it's close to impossible to add a new contact to telegram if there are many apps openened, because Telegram seems to have a higher OOM score than most other things, and it gets killed while the user picks some contact from the address book. The user has to manually close all other apps, sometimes even reboot before being able to do that again.

Tags: bq Edit Tag help

Related branches

Changed in qtmir:
importance: Undecided → Critical
tags: added: bq
description: updated
Changed in content-hub:
importance: Undecided → Critical
description: updated
Changed in canonical-devices-system-image:
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → kevin gunn (kgunn72)
kevin gunn (kgunn72) wrote :

based on some discussion this morning in the unity8 sprint planning.
for the unity8 team we can only approach this with a short-term hack (potentially specifically for the telegram/contacts case) as content hub isn't relying on the trusted session mechanism, this would make it a more proper solution.

this bug will need to remain open for content hub to rely on trusted session. And there will still need to be some discussion around potential OOM scoring adjustments.

Changed in content-hub:
status: New → Confirmed
assignee: nobody → Ken VanDine (ken-vandine)
kevin gunn (kgunn72) on 2015-05-15
Changed in canonical-devices-system-image:
importance: Critical → High
Changed in qtmir:
importance: Critical → High
Changed in content-hub:
importance: Critical → High
Changed in ubuntu-app-launch:
importance: Undecided → High
affects: content-hub → content-hub (Ubuntu)
Michael Zanetti (mzanetti) wrote :

Any news on this? People keep on reporting issues to me that they can't share things in telegram because telegram "keeps on crashing".

kevin gunn (kgunn72) on 2016-05-18
Changed in canonical-devices-system-image:
assignee: kevin gunn (kgunn72) → Bill Filler (bfiller)
Bill Filler (bfiller) on 2016-05-18
Changed in canonical-devices-system-image:
milestone: none → backlog
Gerry Boland (gerboland) on 2016-05-20
Changed in qtmir:
status: New → Confirmed
Michał Sawicz (saviq) on 2017-03-13
affects: qtmir → qtmir (Ubuntu)
Changed in content-hub (Ubuntu):
assignee: Ken VanDine (ken-vandine) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers