uevent spam causes libdbus client code in session upstart to consume massive amounts of memory on Ubuntu Touch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Touch Landing Plan |
Fix Released
|
Undecided
|
Unassigned | ||
Unity |
Confirmed
|
Undecided
|
Unassigned | ||
upstart |
Fix Released
|
Undecided
|
James Hunt | ||
linux (Ubuntu) |
Invalid
|
Critical
|
Unassigned | ||
Saucy |
Invalid
|
Critical
|
Unassigned | ||
systemd (Ubuntu) |
Invalid
|
Undecided
|
Dimitri John Ledkov | ||
Saucy |
Invalid
|
Undecided
|
Dimitri John Ledkov | ||
unity (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Saucy |
Invalid
|
Undecided
|
Unassigned | ||
upstart (Ubuntu) |
Fix Released
|
Critical
|
James Hunt | ||
Saucy |
Fix Released
|
Critical
|
James Hunt |
Bug Description
using ubuntu touch image 82 i see the session init consume about 10MB per minute as long as the screen is on with Mir.
running the same session with surfaceflinger only consumes 1MB per minute.
in both cases the system starts to swap heavily at some point, making the UI unresponsive.
http://
http://
apparently the leak only occurs while the screen is on, it seems to be permanently there but in the case of surfaceflinger it hits less hard.
Related branches
- James Hunt: Disapprove
-
Diff: 18 lines (+8/-0)1 file modifiedextra/upstart-udev-bridge.c (+8/-0)
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Thomas Voß (community): Approve
-
Diff: 88 lines (+20/-25)2 files modifiedplugins/Unity/Indicators/indicatorsmanager.cpp (+20/-24)
plugins/Unity/Indicators/indicatorsmanager.h (+0/-1)
- Steve Langasek: Disapprove
-
Diff: 1044 lines (+730/-34)13 files modifiedChangeLog (+48/-1)
init/control.c (+45/-12)
init/control.h (+5/-1)
init/environ.c (+4/-0)
init/job_class.c (+56/-6)
init/job_process.c (+1/-1)
init/main.c (+12/-5)
init/tests/test_control.c (+2/-2)
init/tests/test_environ.c (+457/-0)
test/test_util_common.c (+11/-1)
util/initctl.c (+2/-3)
util/man/initctl.8 (+2/-2)
util/tests/test_initctl.c (+85/-0)
- Dimitri John Ledkov (community): Approve
-
Diff: 817 lines (+477/-46)9 files modifiedChangeLog (+39/-8)
dbus/com.ubuntu.Upstart.xml (+4/-0)
init/control.c (+111/-18)
init/control.h (+12/-1)
init/main.c (+22/-7)
init/tests/test_control.c (+2/-2)
util/initctl.c (+53/-4)
util/man/initctl.8 (+23/-6)
util/tests/test_initctl.c (+211/-0)
Changed in upstart (Ubuntu): | |
status: | New → Confirmed |
tags: | added: kernel-key |
tags: | removed: rls-s-incoming |
Changed in upstart (Ubuntu Saucy): | |
assignee: | nobody → James Hunt (jamesodhunt) |
summary: |
- session upstart leaks massive amounts of memory on Ubuntu Touch + uevent spam causes session upstart to consume massive amounts of memory + on Ubuntu Touch |
Changed in linux (Ubuntu Saucy): | |
status: | Confirmed → Incomplete |
tags: |
added: kernel-da-key removed: kernel-key |
Changed in linux (Ubuntu Saucy): | |
status: | Incomplete → Invalid |
Changed in systemd (Ubuntu Saucy): | |
status: | In Progress → Invalid |
tags: | added: patch |
Changed in upstart (Ubuntu): | |
status: | Fix Released → Incomplete |
status: | Incomplete → In Progress |
tags: | added: needs-ap-test |
Changed in upstart: | |
assignee: | nobody → James Hunt (jamesodhunt) |
status: | New → Fix Committed |
Changed in landing-plan: | |
status: | New → Fix Released |
Changed in unity: | |
status: | New → Confirmed |
Changed in upstart: | |
status: | Fix Committed → Fix Released |
status: | Fix Released → Confirmed |
Changed in upstart: | |
status: | Confirmed → Fix Released |
Changed in unity (Ubuntu Saucy): | |
status: | Confirmed → Invalid |
both of the above was observed on maguro btw.