handle high cpu load and high memory usage issues

Bug #1256268 reported by James Hunt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Apport
New
Undecided
James Hunt

Bug Description

This discussion about how we could detect high cpu load on Touch petered out:

https://lists.launchpad.net/ubuntu-phone/msg03959.html

It's a difficult problem to solve without generating lots of false positives. However, I wonder if we could approach the issue slightly differently, atleast on the desktop for now by making apport essentially run top(1) [1] and check to see if:

- the top CPU and/or memory processes relate to the package the user has just run apport-bug for.

If so, ask the user if they are raising a bug due to a suddenly slow/hot/noisy system and then attach the following the the apport-filed bug report:

- the top(1) output.
- the stack traces for the offending binaries ("sudo cat /proc/$pid/stack").

[1] - http://people.canonical.com/~jhunt/scripts/find_cpu_hogs.sh

Related branches

James Hunt (jamesodhunt)
summary: - handle high cpu load and issues
+ handle high cpu load and high memory usage issues
James Hunt (jamesodhunt)
Changed in apport:
assignee: nobody → James Hunt (jamesodhunt)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.