LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-04-2007, 09:41 AM   #1
cexshun
Member
 
Registered: Jan 2003
Distribution: Ubuntu Hardy Heron
Posts: 83

Rep: Reputation: 15
FF 2.0 100% CPU Usage


Hey guys. I'm running slackware 11.0. I've tried both E16 and E17 desktops and the problem continues to happen on both.

I'm running FF 2.0 from the slackware repository. I leave it up and it seems every 3 days, the CPU will peg at 100%. Using top/htop, it shows the firefox-bin process using 90% or so of the CPU. And this is completely at idle.

Has anyone else ran into this problem?
 
Old 04-04-2007, 10:58 AM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I dunno, I've never had FF up for that long of a time. Why do you need it up that long ?

If you're downloading something, use wget.
 
Old 04-04-2007, 10:59 AM   #3
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
agree with that
i'm using Firefox package from Mozilla (not from Slackware package) and i experience the same thing. It consumes too much resources and it didn't only happened in Linux, but in Windows also

i hope Firefox 3.0 will less hunger for memory consumption
 
Old 04-04-2007, 11:06 AM   #4
cexshun
Member
 
Registered: Jan 2003
Distribution: Ubuntu Hardy Heron
Posts: 83

Original Poster
Rep: Reputation: 15
Why do I need it open that long? Because it's the most used application on my machine. I drop it onto desktop 2 and just leave it open. No reason to close applications that I'll just have to reopen the next time I sit down in the chair.

What's strange is that the CPU usage starts at 0 for the first day or so. Then all of a sudden it spikes to 100%. Resource hog I can understand. But it shouldn't be processing anything. I fail to see how sitting on www.google.com for any length of time would cause CPU usage, let along 100% usage.
 
Old 04-04-2007, 11:27 AM   #5
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700

Rep: Reputation: 43
Which extensions/themes do you have installed?
Some are known to let the CPU usage go nuts.

Although I agree that keeping FF up and running for three days is 'a bit long'.
Don't you ever sleep?
You can get it up and running with the same session as you closed it down.
 
Old 04-04-2007, 11:28 AM   #6
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
FWIW i've noticed FF2 will eat all my memory, then swap, so the system starts swapping ... that usually raises the CPU after a day or two. I'm considering rolling back to 1.5 ... as yet I can't decide if there are any features in 2 that i need.

Either that or Opera =)

- Piete.
 
Old 04-04-2007, 11:33 AM   #7
cexshun
Member
 
Registered: Jan 2003
Distribution: Ubuntu Hardy Heron
Posts: 83

Original Poster
Rep: Reputation: 15
Extensions in use:
NoScript
AdBlock Plus
ForecastFox
RefControl
Web Developer
Download Statusbar

All are updated to the most recent version. And whether or not I leave my browser open for "a long time", I think we can all agree that is should not be behaving as it is.
 
Old 04-04-2007, 11:37 AM   #8
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700

Rep: Reputation: 43
Quote:
Originally Posted by cexshun
ForecastFox
Kick out ForecastFox, which has a reputation on this field.
 
Old 04-04-2007, 11:38 AM   #9
cexshun
Member
 
Registered: Jan 2003
Distribution: Ubuntu Hardy Heron
Posts: 83

Original Poster
Rep: Reputation: 15
I just ssh'd into my box to check on it. Nobody is home and the browser is most likely sitting on www.google.com. Here's the relevant output from top.

Quote:
top - 11:36:01 up 5 days, 10:28, 2 users, load average: 1.14, 1.09, 1.02
Tasks: 52 total, 3 running, 49 sleeping, 0 stopped, 0 zombie
Cpu(s): 94.0% user, 6.0% system, 0.0% nice, 0.0% idle
Mem: 514884k total, 460284k used, 54600k free, 102144k buffers
Swap: 979924k total, 0k used, 979924k free, 166240k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6469 rberquis 17 0 83856 80m 19m R 88.1 16.1 3005:10 firefox-bin
6473 rberquis 11 0 83856 80m 19m S 10.3 16.1 223:29.66 firefox-bin
CPU is once again pegged. As you can see, the swap space is untouched.

Edit: I'll try disabling forecastfox when I get home.

Edit: another update
OK, so after 2 days of googling "firefox CPU usage" and getting nothing, I took your advice and searched for "forecastfox CPU usage". BAM, answers. Several website including forecastfox's own website state the following:
Quote:
We are aware of the CPU Usage Bug. This appears like it may be a bug in Firefox's progressmeter implementation. We are currently tracking it here: http://bugs.ensolis.com/show_bug.cgi?id=200 and we believe it will be fixed with Firefox 2.0.0.2.
Looks promising. I'll keep you all posted.

Last edited by cexshun; 04-04-2007 at 11:45 AM.
 
Old 04-04-2007, 11:45 AM   #10
jeenam
Member
 
Registered: Dec 2006
Distribution: Slackware 11
Posts: 144

Rep: Reputation: 15
Opera 9.10 FTW!
 
Old 04-04-2007, 12:42 PM   #11
sn9ke_eyes
Member
 
Registered: Feb 2003
Location: Texas
Distribution: slackware 11
Posts: 90

Rep: Reputation: 15
I've got the same issue as you and I too have forcastfox installed. The only other extension I have installed in common is download statusbar.

I leave firefox running a lot because I'm often in the middle of doing something, 8 or 9 tabs open and then get called away. I might not get back to it for a couple of days. Until I finish my research or whatever I'm doing, why would I close out firefox ? It should be able to run indefinitely.
 
Old 04-04-2007, 12:54 PM   #12
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700

Rep: Reputation: 43
Are you using Firefox 2.*?
You can restart your closed session by selecting this option in Preferences --> General --> When Firefox starts "open my windows and tabs of the previous session" (could be slightly different, my FF is Dutch )

Another thing that can cause this behavior is a corrupted FF-profile. Create an new one, move important stuff from you old to your new profile (bookmarks, passwords etc.) but NOT your extensions/themes! Of course, then you will have to install those extensions again.
 
Old 04-05-2007, 01:11 AM   #13
Hendronicus
Member
 
Registered: Feb 2006
Location: Oldsmar, Fl. USA
Distribution: Slackware, Ubuntu
Posts: 176

Rep: Reputation: 50
What you're describing is a classic memory leak, and yes, it can eat up processor cycles. I agree with sn9ke_eyes it should be able to run indefinitely, but sometimes programs don't work that way. This is a well known problem with ff too. I don't use forcastfox, but I have two other extensions in common with you and I've had the same type of problem on 1.5 I know this isn't much of an answer but all I do is quit firefox for a minute and then reload - no more memory leak!
 
  


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
CPU Usage goes to 100% when pthread_cond_wait is being used zen_buddha Linux - Software 4 10-19-2005 04:28 PM
BZFlag 100% CPU Usage pjpeter Linux - Games 5 10-10-2004 08:48 PM
CPU goes to (100% usage) without any task medo Linux - Hardware 4 04-19-2004 07:13 PM
CPU usage 100% ecsfan Red Hat 17 11-19-2003 03:06 PM
100 % CPU usage ???? rolandi Linux - Newbie 1 10-07-2003 11:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:26 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