← Back to team overview

dx-packages team mailing list archive

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

 

I noticed that unity-panel-service takes quite much memory. It seems to
be mainly due huge (>1,5 GB) heap size:

pasi@M6600:~$ pmap -X  3184 | grep heap
        00754000 rw-p 00000000  00:00       0 1620100  348264  348264     138388    348264 1271804      0 [heap] 

My indicators:

pasi      3306  2946  0 kesä16 ?      00:00:00 /usr/lib/x86_64-linux-gnu/indicator-keyboard-service --use-gtk
pasi      3315  2946  0 kesä16 ?      00:00:00 /usr/lib/x86_64-linux-gnu/indicator-messages/indicator-messages-service
pasi      3317  2946  0 kesä16 ?      00:00:00 /usr/lib/x86_64-linux-gnu/indicator-bluetooth/indicator-bluetooth-service
pasi      3320  2946  0 kesä16 ?      00:00:00 /usr/lib/x86_64-linux-gnu/indicator-power/indicator-power-service
pasi      3323  2946  0 kesä16 ?      00:00:22 /usr/lib/x86_64-linux-gnu/indicator-datetime/indicator-datetime-service
pasi      3327  2946  0 kesä16 ?      00:00:00 /usr/lib/x86_64-linux-gnu/indicator-sound/indicator-sound-service
pasi      3328  2946  0 kesä16 ?      00:00:00 /usr/lib/x86_64-linux-gnu/indicator-printers/indicator-printers-service
pasi      3333  2946  0 kesä16 ?      00:00:00 /usr/lib/x86_64-linux-gnu/indicator-session/indicator-session-service
pasi      3341  2946  0 kesä16 ?      00:04:37 /usr/lib/x86_64-linux-gnu/indicator-application/indicator-application-service
pasi      3583  3181  0 kesä16 ?      00:01:31 /usr/bin/python3 /opt/extras.ubuntu.com/my-weather-indicator/bin/my-weather-indicator
pasi      3592  3181  0 kesä16 ?      00:17:27 indicator-multiload
pasi      4200  3181  0 kesä16 ?      00:00:00 telepathy-indicator

and the one without "indicator" in the name:

pasi      9473  2946 72 10:12 ?        00:01:59 owncloud

I am running 14.04-64bit, fresh install.

Some system information (Dell M6600):

01:00.0 VGA compatible controller: NVIDIA Corporation GF104GLM [Quadro 3000M] (rev a1)
	Subsystem: Dell Device 04a4
	Kernel driver in use: nouveau

-- 
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 Released
Status in Application Menu Indicator 13.10 series:
  Fix Released
Status in The Ubuntu Power Consumption Project:
  Fix Released
Status in Unity:
  Invalid
Status in “gtk+3.0” package in Ubuntu:
  Fix Released
Status in “indicator-appmenu” package in Ubuntu:
  Fix Released
Status in “unity” package in Ubuntu:
  Invalid
Status in “gtk+3.0” source package in Saucy:
  Fix Released
Status in “indicator-appmenu” source package in Saucy:
  Fix Released

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