LinuxQuestions.org
Help answer threads with 0 replies.
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, 10:12 AM   #16
BenCollver
Rogue Class
 
Registered: Sep 2006
Location: OR, USA
Distribution: Slackware 14.1
Posts: 201
Blog Entries: 3

Rep: Reputation: 78

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, 10:37 AM   #17
edbarx
Member
 
Registered: Sep 2010
Distribution: Used Debian since Sarge. (~2005)
Posts: 369

Original Poster
Rep: Reputation: 18
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, 11:01 AM   #18
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
Thanks for reporting it as a bug and posting your fix, much appreciated.
 
Old 04-05-2014, 11:27 AM   #19
BenCollver
Rogue Class
 
Registered: Sep 2006
Location: OR, USA
Distribution: Slackware 14.1
Posts: 201
Blog Entries: 3

Rep: Reputation: 78
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, 03:56 AM   #20
edbarx
Member
 
Registered: Sep 2010
Distribution: Used Debian since Sarge. (~2005)
Posts: 369

Original Poster
Rep: Reputation: 18
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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-21-2013 12:20 AM
How to diagnose system freeze chexmix Slackware 21 03-13-2013 01:44 AM
How to diagnose a system freeze Knightron Linux - Newbie 8 11-14-2012 06:51 PM
memory leak (I think) paralyses my system - how to diagnose? Moebius Linux - Software 2 12-15-2004 04:44 PM


All times are GMT -5. The time now is 12:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration