← Back to team overview

dx-packages team mailing list archive

[Bug 1199877] Re: unity-panel-service pegs one of my CPUs at 100%

 

This problem has been driving me nuts. It gets worse over time,
suggesting a leak someplace. Other evidence for a leak, the unity-panel-
service heap grows from 21MB on boot to 350MB or more after a few days
of uptime.

I profiled the system several times using sysprof (see attached
profile). The profiles consistently show that almost all time is spent
in a pair of gobject methods (handlers_find() and handler_lookup()). The
code in these methods traverses a linked list of 'handlers', suggesting
that those lists are growing large.

Some cursory poking around in gdb confirms that the lists being
traversed are very large - at least tens of thousands of elements. I'm
not yet sure why they are growing so big or what's in them.

** Attachment added: "unity-panel-service.sysprof"
   https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1199877/+attachment/3805880/+files/unity-panel-service.sysprof

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1199877

Title:
  unity-panel-service pegs one of my CPUs at 100%

Status in The Ubuntu Power Consumption Project:
  New
Status in Unity:
  In Progress
Status in “unity” package in Ubuntu:
  Triaged

Bug description:
  Just going about my business on Ubuntu Raring amd64 on an x230 and I
  heard the fan kick into action.  top showed me that unity-panel-
  service was consuming all the free cycles on one of my CPUs.  I killed
  it before my machine overheated, so I didn't attach a debugger to see
  why it was totally pegging out a  CPU.

  I'm not sure if this adds any context, but I was using a LibreOffice
  spreadsheet and I could not insert a table because the menu had lost
  it's mind, and then I observed the overly loaded CPU a very short
  while after that.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-consumption/+bug/1199877/+subscriptions