Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-04-2007, 10:41 AM
|
#1
|
Member
Registered: Jan 2003
Distribution: Ubuntu Hardy Heron
Posts: 83
Rep:
|
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?
|
|
|
04-04-2007, 11:58 AM
|
#2
|
LQ Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
|
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.
|
|
|
04-04-2007, 11:59 AM
|
#3
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,816
|
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
|
|
|
04-04-2007, 12:06 PM
|
#4
|
Member
Registered: Jan 2003
Distribution: Ubuntu Hardy Heron
Posts: 83
Original Poster
Rep:
|
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.
|
|
|
04-04-2007, 12:27 PM
|
#5
|
Member
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700
Rep:
|
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.
|
|
|
04-04-2007, 12:28 PM
|
#6
|
Member
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465
Rep:
|
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.
|
|
|
04-04-2007, 12:33 PM
|
#7
|
Member
Registered: Jan 2003
Distribution: Ubuntu Hardy Heron
Posts: 83
Original Poster
Rep:
|
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.
|
|
|
04-04-2007, 12:37 PM
|
#8
|
Member
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700
Rep:
|
Quote:
Originally Posted by cexshun
ForecastFox
|
Kick out ForecastFox, which has a reputation on this field.
|
|
|
04-04-2007, 12:38 PM
|
#9
|
Member
Registered: Jan 2003
Distribution: Ubuntu Hardy Heron
Posts: 83
Original Poster
Rep:
|
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 12:45 PM.
|
|
|
04-04-2007, 12:45 PM
|
#10
|
Member
Registered: Dec 2006
Distribution: Slackware 11
Posts: 144
Rep:
|
Opera 9.10 FTW!
|
|
|
04-04-2007, 01:42 PM
|
#11
|
Member
Registered: Feb 2003
Location: Texas
Distribution: slackware 11
Posts: 90
Rep:
|
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.
|
|
|
04-04-2007, 01:54 PM
|
#12
|
Member
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700
Rep:
|
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.
|
|
|
04-05-2007, 02:11 AM
|
#13
|
Member
Registered: Feb 2006
Location: Oldsmar, Fl. USA
Distribution: Slackware, Ubuntu
Posts: 176
Rep:
|
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!
|
|
|
All times are GMT -5. The time now is 08:10 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|