** Changed in: upstart (Ubuntu Saucy)
Assignee: (unassigned) = James Hunt (jamesodhunt)
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1235649
Title:
session upstart leaks massive
Valgrinding the session init shows that most of the memory is correctly
freed at quiesce time.
** Attachment added: valgrind session init consuming ~250MB (with
suppressions)
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1235649/+attachment/3866119/+files/valgrind-250M.log.gz
--
You
Valgrind run as:
valgrind -v -v -v -v --show-reachable=yes --track-origins=yes --leak-
check=full init --debug --user
** Attachment added: valgrind session init consuming ~500MB (no suppressions)
** Also affects: systemd (Ubuntu)
Importance: Undecided
Status: New
** Summary changed:
- session upstart leaks massive amounts of memory on Ubuntu Touch
+ uevent spam causes session upstart to consume massive amounts of memory on
Ubuntu Touch
--
You received this bug notification
jibel - thanks. It does indeed look like bug 1234743 as the trace shows
a lot of the following events:
:sys:cpu-device-online
:sys:cpu-device-offline
:sys:power_supply-device-changed
This would explain the Session consuming a lot of CPU since those events
are generated by the kernel, picked up
Also, please could you run
http://people.canonical.com/~jhunt/upstart/scripts/get_state.sh as user
phablet and attach to this bug.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1235649
more verbose strace during a start/stop of dialer-app
** Attachment added: strace_-fFvtt_-s.init_--user_--debug.strace.gz
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1235649/+attachment/3864305/+files/strace_-fFvtt_-s.init_--user_--debug.strace.gz
--
You received this bug
/var/log/udev
** Attachment added: _var_log_udev
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1235649/+attachment/3864307/+files/_var_log_udev
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
output of get_state.sh after dialer-app has been stopped.
** Attachment added: get_state.out
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1235649/+attachment/3864306/+files/get_state.out
--
You received this bug notification because you are a member of Kernel
Packages, which is
output of ls -al /proc/1467/fd/
** Attachment added: ls_-al__proc_PID_fd_.out
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1235649/+attachment/3864308/+files/ls_-al__proc_PID_fd_.out
** Changed in: upstart (Ubuntu Saucy)
Status: Incomplete = Confirmed
** Changed in: linux
i can definitely make it stop consuming more ram by stopping the
upstart-event-bridge session job.
this works on both devices.
the ram does not get freed but the consumption does not keep rising either
anymore then.
--
You received this bug notification because you are a member of Kernel
Apparently, the high cpu load stop when the upstart-event-bridge is
stopped. This lends weight to the high cpu issue being caused the a
kernel udev event issue (like bug 1234743).
However, what is not explained is why the Session Init retains the
memory it consumes once the upstart-event-bridge
@jibel - that get_state.out appears to have either been run as root, or
atleast outside the session init environment. Please could you re-run as
user phablet?
Also, please could you attach /var/log/udev ?
--
You received this bug notification because you are a member of Kernel
Packages, which
output of get_state.sh as user phablet
** Attachment added: get_state.out
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1235649/+attachment/3864343/+files/get_state.out
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux
Can someone try running /sbin/initctl notify-disk-writeable and see if
the session inits memory consumption drops? Alternatively, run the
session init as init --user --debug --no-log.
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux
From info provided by jibel...
Forcing a log flush (#25) doesn't resolve the high memory usage (as we'd
expect, but worth ruling out).
The state file in #24 looks sane to me; forcing a re-exec of the Session
Init does cause the memory to fall to reasonable levels. This almost
feels like a
output of initctl list as user phablet.
** Attachment added: initctl_list.out
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1235649/+attachment/3864504/+files/initctl_list.out
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to
To summarise: there are 2 problems here:
1) The kernel spamming userspace with udev messages on mako+maguro
(grouper doesn't appear to be affected but not independently verified
yet).
2) Upstart not releasing memory once the kernel has finished spamming
userspace (artificially forced by running
Could someone run the make check tests for the libnih package on a
mako/maguro device?
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1235649
Title:
session upstart leaks massive
I can no recreate the issue with memory not being freed by running:
http://paste.ubuntu.com/6205552/.
This is recreatable on i386 desktop images so although problem (1) in
#27 is h/w specific, problem (2) is not.
--
You received this bug notification because you are a member of Kernel
Packages,
** Tags added: kernel-key
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1235649
Title:
session upstart leaks massive amounts of memory on Ubuntu Touch
Status in “linux” package in
** Tags removed: rls-s-incoming
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1235649
Title:
session upstart leaks massive amounts of memory on Ubuntu Touch
Status in “linux” package
22 matches
Mail list logo