LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-28-2008, 10:15 PM   #1
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 365

Rep: Reputation: 30
Slack 12 + Firefox + memory problem


Having what appears to be memory problems when using Firefox on
my Slackware 12.0 system. Certain web sites with lots of graphics
such as news and movie sites take a long time to load and then
stop and hang. Commensurate with the hang is a lot of disk
activity as if RAM is being offloaded to swap. However it never
completes.

I have been using Firefox 3.0.1 and have changed back to the
2.0.0.4 version supplied with Slackware 12.0 after reading that
Firefox 3.0 is a memory hog. Unfortunately, the problem persists.

While my 256K of RAM is not large by today's standards, it has always
been sufficient. In fact, the Windows version of Firefox (v 2.0.0.17)
has no trouble loading the aforementioned web pages completely on
a Win98SE system on the same machine.

I have also tried the SeaMonkey browser included with Slack 12 with
the same result.

I suppose I could have picked up a virus or some sort of malware but
have no way of determining what the problem is on my system. There
also may be a problem with virtual memory.

Can anyone suggest how I might approach a solution to this problem?
 
Old 09-29-2008, 01:53 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
What plugins are you using for FF under Linux ? Anything to view movies ?
 
Old 09-29-2008, 09:13 AM   #3
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 365

Original Poster
Rep: Reputation: 30
Only plugin is Flash 9
 
Old 09-29-2008, 09:48 AM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Did you try to clear the firefox cache (edit > preferences > advanced)
Maybe a profile problem ?
mv ~/.mozilla ~/.mozilla.bak
mv ~/.firefox ~/.firefox.bak
firefox &
 
Old 09-29-2008, 10:38 AM   #5
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700

Rep: Reputation: 43
FF3.* uses less memory than FF2.*...
How is Konqueror behaving?
 
Old 09-29-2008, 02:15 PM   #6
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 365

Original Poster
Rep: Reputation: 30
Clearing cache helped a little; at least the page loads completely,
but disk thrashing still occurring. Pretty sure not a profile problem.
Even though page loads completely, further navigation very slow and
disk thrashing intensifies even if I am just closing the browser.

It's surprising that FF2 would be more of a memory hog than FF3.
Konqueror and SeaMonkey exhibit similar slowness.

It appears that the only solution is more RAM, unless there are
any other ideas?
 
Old 09-29-2008, 02:21 PM   #7
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Could you post output with: free -m and df -h ?

Last edited by keefaz; 09-29-2008 at 02:23 PM.
 
Old 09-29-2008, 02:26 PM   #8
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700

Rep: Reputation: 43
How much RAM do you have?

Edit:
sorry, hadn't read keefaz' reply.

Last edited by adriv; 09-29-2008 at 04:02 PM.
 
Old 09-29-2008, 03:51 PM   #9
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 365

Original Poster
Rep: Reputation: 30
256K RAM

free-m
Code:
             total       used       free     shared    buffers     cached
Mem:           218        215          3          0         21         95
-/+ buffers/cache:         98        119
Swap:            0          0          0
df -h
Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda3              20G  4.0G   15G  22% /
/dev/hda1             9.8G  3.9G  6.0G  40% /fat32
 
Old 09-29-2008, 04:00 PM   #10
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700

Rep: Reputation: 43
You don't have a swap partition?
Probably that's the reason of the slow response.
You might add some extra RAM, but I think the lack of swap (with this amount of RAM) is the culprit.
 
Old 09-29-2008, 04:20 PM   #11
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Yes, you need a swap partition, say a 500-700MB partition for swap
BTW you have 256M of ram memory not 256k(!)
 
Old 09-29-2008, 04:56 PM   #12
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
I'll wager /dev/hda2 is swap.
 
Old 09-29-2008, 05:04 PM   #13
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 365

Original Poster
Rep: Reputation: 30
Yea, sorry, it's 256M RAM and 900M swap.

Trouble affects both FF and SeaMonkey even after
cache is cleared in both (i.e. both browsers are
now choking and hanging on graphics heavy web pages)

Tried to do a free -m after web page loaded but could
not get it to load completely again.

Hang occurs as status bar indicates either:

"transferring data from www......" or

"waiting for data from www......."

Activity indicator and progress bars just freeze.
 
Old 09-29-2008, 05:15 PM   #14
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700

Rep: Reputation: 43
Quote:
Originally Posted by Bruce Hill View Post
I'll wager /dev/hda2 is swap.
Then how do you explain this:
Code:
Swap:            0          0          0
 
Old 09-29-2008, 05:18 PM   #15
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Your swap partition is obviously not active. You should format the partition with mkswap, if necessary, and then activate it with swapon (both as root). There should be a line like the following in your /etc/fstab (assuming your swap partition is /dev/hda2):
Code:
/dev/hda2        swap             swap        defaults         0   0
 
  


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
Linux shared memory segment access problem and x86 Virtual Memory layout. regmee Linux - Kernel 1 08-23-2008 12:11 AM
firefox fonts problem in Slack 12 edmundo_ba Slackware 2 07-10-2007 06:13 PM
memory problems on slack 9.0 dogbird Linux - Software 0 11-18-2005 02:02 AM
High memory usage on Slack 10 lil_drummaboy Slackware 3 11-26-2004 05:47 PM
reboot corruption memory (slack 9.1) muhkuhmasta Slackware 4 07-21-2004 02:21 AM

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

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