← Back to team overview

dx-packages team mailing list archive

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

 

I ran health-check (ppa:colin-king/white) against unity-panel-service
while navigating menus on gimp and thunderbird for 60 seconds and I
observed on average over 60 seconds:

about 53 minor page faults per second,  
nearly 1900 context switches a second,  
over 260 recvfrom() syscalls per second, 
over 8500 poll() syscalls that timed out with a zero timeout (which means there poll is being abused somewhere),
nearly 175K of heap growth per second via brk()
nearly 550K of memory growth per second via mmap()

Attached is the full log. This is a seriously leaky process with some
excessive power consuming polling going on.



** Attachment added: "health-check analysis"
   https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1199877/+attachment/3893898/+files/health-check.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
https://bugs.launchpad.net/bugs/1199877

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

Status in The Ubuntu Power Consumption Project:
  New
Status in Unity:
  In Progress
Status in Unity 7.1 series:
  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