Set a positive value to oom_score_adj for session processes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc-android-config (Ubuntu) |
Invalid
|
Critical
|
Oliver Grawert | ||
lxc-android-config (Ubuntu RTM) |
Invalid
|
Critical
|
Oliver Grawert | ||
ubuntu-touch-session (Ubuntu) |
Fix Released
|
Critical
|
Oliver Grawert | ||
ubuntu-touch-session (Ubuntu RTM) |
Fix Released
|
Critical
|
Oliver Grawert |
Bug Description
Reference: bug 1376165
In /etc/init/
The score for session processes should be much higher.
I tried the following test case:
- Take a picture with camera
- Copy it 100 times to simulate several shots with the camera.
- Then go to the Photo scope
- tap on "My Pictures"
With the current setting oom killer selects system dbus or powerd which requires a hard reboot of the device.
I tried 300 (this is an example to have a significant difference with current setting) and OOM killer selects unity8-dash (which used 44% of the memory) and the system recovered without a reboot.
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: lxc-android-config 0.207 [origin: Ubuntu RTM]
Uname: Linux 3.4.67 armv7l
ApportVersion: 2.14.7-0ubuntu1
Architecture: armhf
Date: Mon Oct 6 11:41:24 2014
InstallationDate: Installed on 2014-09-29 (7 days ago)
InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf (20140929-030205)
PackageArchitec
SourcePackage: lxc-android-config
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
mtime.conffile.
upstart.
upstart.
upstart.boot-hooks: Error: [Errno 21] Is a directory: '/etc/init/
upstart.
# cups - CUPS Printing spooler and server
# socket activation overrides for touch
start on socket PROTO=inet PORT=631 ADDR=127.0.0.1
exec /usr/sbin/cupsd -f -x 30
upstart.
upstart.
upstart.
upstart.
manual
exec /usr/sbin/sshd -D -o PasswordAuthent
upstart.
upstart.
upstart.
upstart.
upstart.
upstart.
upstart.
upstart.
Related branches
- Sergio Schvezov: Approve
-
Diff: 10 lines (+1/-1)1 file modifiedlightdm.override (+1/-1)
Changed in lxc-android-config (Ubuntu RTM): | |
importance: | Undecided → Critical |
assignee: | nobody → Oliver Grawert (ogra) |
Changed in lxc-android-config (Ubuntu): | |
status: | New → Confirmed |
Changed in lxc-android-config (Ubuntu RTM): | |
status: | New → Confirmed |
Changed in ubuntu-touch-session (Ubuntu RTM): | |
status: | Confirmed → Fix Released |
sigh, indeed the file is in ubuntu- touch-session ... not in lxc-android-config, adjusting bug taslks accordingly