← Back to team overview

dx-packages team mailing list archive

[Bug 968533] Re: Alt-tab to Firefox sends Firefox to 100% CPU; unity-panel-service to 80% CPU and hud-service to 20-80% CPU

 

Hi,

I'm using Firefox and suffered from often occasional lockups of system
due to overload of both CPU cores by  2 unity-panel-service processes
and hud-service. Especially often this behavior vere triggered when I
tried to type a text on any forum (and that as extremely annoying). That
happened pretty much often like every hour and sometimes a few times in
a row.

I think I found the reason why it happened to me and finally "fixed" it.

Apperently I had ~30 RSS feeds in the bookmars menu + Feed Sidebar addon
which caused them to reload every hour (not all at once but all during
each hour). So, as result structure of the menu were changed every now
and then. And these changes sometimes caused Unity Panel and HUD to
overload system!

So, to "fix" this issue I had moved all my RSS feeds and dynamic
bookmars into Unsorted Bookmarks section which does not shows up on the
menu (it's actually there but only as a link to open a bookmarks
manager). Seems like occasional freezes disappeared from that moment.

It's understandable that dynamic changes in the menu could require some
resources but I'm pretty much sure that hoggin 100% of 64 bit dual-core
CPU during 10-30 seconds is pretty much odd thing to do. At least I
don't need these RSS feeds in the bookmarks menu but what will have to
do those with RSS feeds on the bookmarks toolbar? Moving such feeds into
Unsorted Bookmarks will totally break their workflow.

-- 
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/968533

Title:
  Alt-tab to Firefox sends Firefox to 100% CPU; unity-panel-service to
  80% CPU and hud-service to 20-80% CPU

Status in Unity:
  Confirmed
Status in “unity” package in Ubuntu:
  Confirmed

Bug description:
  I've been seeing UI hangs after switching tabs in Firefox, and
  switching from other applications to Firefox.

  It can take 3-8 seconds to change *tab*.  During this time the CPU is
  maxed out;  typical output from 'top' during this period shows 'hud-
  service' and 'unity-panel-service' combined using about the same CPU
  as Firefox itself:

   100 10.4  26:07.73 firefox            
    53  0.6   6:14.86 hud-service        
    38  1.5   6:42.14 unity-panel-service

  I suspect that the change is causing a (an inefficient) re-index
  related to updated menu structures.  (Eg. something like the history
  menu, although I can't see what it is as don't currently have a menu
  bar).

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/968533/+subscriptions