← Back to team overview

dx-packages team mailing list archive

[Bug 1199877] Re: unity-panel-service memory leak and 100% CPU usage

 

I don't see the CPU being pegged and it isn't leaking memory so badly.
There is still some memory leakage.  I ran health-check (from my PPA,
ppa:colin-king/white) against it for over 10 minutes using applications
such as LibreOffice, Gimp, Firefox and still observed quite a lot of
brks() occurring:

Heap Change via brk():
  PID                        brk Count  Change (K)  Rate (K/second)
  3222 unity-panel-service         143        18612         29.10 (growing moderately fast)

so, that's 18Mb in 640 seconds, or about 29K a second.

I did reboot my machine before testing and double checked that I was
running the package from -proposed.

Attached is a report from health-check with the full details.

** Attachment added: "leak.log"
   https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1199877/+attachment/3897066/+files/leak.log

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

Title:
  unity-panel-service memory leak and 100% CPU usage

Status in The Application Menu:
  Fix Committed
Status in Application Menu Indicator 13.10 series:
  Fix Committed
Status in The Ubuntu Power Consumption Project:
  New
Status in Unity:
  Invalid
Status in “gtk+3.0” package in Ubuntu:
  In Progress
Status in “indicator-appmenu” package in Ubuntu:
  In Progress
Status in “unity” package in Ubuntu:
  Invalid
Status in “gtk+3.0” source package in Saucy:
  Fix Committed
Status in “indicator-appmenu” source package in Saucy:
  In Progress

Bug description:
  Impact: high CPU/memory usage from unity-panel-service

  Test case:

  Open a large image in the GIMP and activate a lot of items from the
  global menu. Using shortcuts is enough and faster to reproduce this
  bug (I've always used Ctrl+A and Ctrl+Shift+A). Memory usage of unity-
  panel-service increases steadily and it uses a lot of CPU shortly
  after activating the menu items in a short time.

  Regression potential: check that the menus are stable/working as they
  should

  ---------
  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/indicator-appmenu/+bug/1199877/+subscriptions