LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-05-2014, 09:12 AM   #16
BenCollver
Rogue Class
 
Registered: Sep 2006
Location: OR, USA
Distribution: Slackware64-15.0
Posts: 375
Blog Entries: 2

Rep: Reputation: 172Reputation: 172

Years ago I noticed that sometimes slow DNS would cause a CPU spike in Firefox. To this day, misbehaving Javascript will sometimes take down both Chrome and Firefox. It seems particularly bad on social networking sites and sites that pull in a lot of advertisements. As an experiment, you might try Google DNS, AdBlockPlus, and NoScript/ScriptNo.
 
Old 04-05-2014, 09:37 AM   #17
edbarx
Member
 
Registered: Sep 2010
Distribution: Used Debian since Sarge. (~2005)
Posts: 373

Original Poster
Rep: Reputation: 21
Thanks to a tough moderator and thanks to other contributors in this thread, I found the solution as to why iceweasel was eating too many CPU cycles. The issue is firefox related, and has been reported as a bug.

Quote:
The problem lies in CSS3 animations. There’s a bug in Iceweasel that makes it refresh the page even when nothing is changing whenever there’s a animation property set to an element even when the element is hidden. See https://bugzilla.mozilla.org/show_bug.cgi?id=962594.
The solution is to edit the userContent.css file adding the following lines:
Code:
@-moz-document domain(facebook.com) {
* {
  -moz-animation: none !important;
  animation: none !important;
 }
}

Thank goodness, the issue was not security related.
 
1 members found this post helpful.
Old 04-05-2014, 10:01 AM   #18
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Thanks for reporting it as a bug and posting your fix, much appreciated.
 
Old 04-05-2014, 10:27 AM   #19
BenCollver
Rogue Class
 
Registered: Sep 2006
Location: OR, USA
Distribution: Slackware64-15.0
Posts: 375
Blog Entries: 2

Rep: Reputation: 172Reputation: 172
Thanks for sharing the solution. It fits a pattern of a simple solution but complicated troubleshooting. Thank goodness other folks are on the task.
 
Old 04-06-2014, 02:56 AM   #20
edbarx
Member
 
Registered: Sep 2010
Distribution: Used Debian since Sarge. (~2005)
Posts: 373

Original Poster
Rep: Reputation: 21
As I don't have enough understanding of CSS, I could never understand it was causing unnecessary repainting of graphical components. I only found the solution and posted it here for anyone using firefox (aka iceweasel in Debian). I don't deem it honest on my part to take the merits of others.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
System crashes (howto diagnose cause) grail Linux - Software 19 09-20-2013 11:20 PM
How to diagnose system freeze chexmix Slackware 21 03-13-2013 12:44 AM
How to diagnose a system freeze Knightron Linux - Newbie 8 11-14-2012 05:51 PM
memory leak (I think) paralyses my system - how to diagnose? Moebius Linux - Software 2 12-15-2004 03:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration