LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-19-2011, 03:50 PM   #1
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 316

Rep: Reputation: 32
Browser problems / possible OS reinstall?


I have a relatively new dual core 64 bit dual install Win XP/10.04 system.

At first I was able to run quite a number of browser (Chrome and Firefox) windows simultaneously in different desktops without much in the way of problems save the occasional reboot every few days to let the machine clear it's head.

Lately when I reboot, it runs fine for a few (1-6) hours, but then one or more of a few of the tabs start "spinning" in the tab showing that they are refreshing and a popup comes up saying that the program isn't responding, and asking whether I want to wait or force close.

If I choose wait, and go to those tabs, and hit the stop button, it changes to a refresh button but the tab still shows that it is attempting to connect/refresh/whatever it is doing, and the popup returns every few seconds. I.e., it is ignoring the "Stop".

I am now only running a few browser windows which is a much lighter load than the multiple windows before. I have reinstalled both Firefox and Chrome without any improvement.

There doesn't appear to be any pattern to the ones that start doing this, but once started any new tab will often fall into the same problem.

(FWIW, when I boot up, just after selecting the OS I want, a message flashes up (white print on black)saying:

Quote:
Modprobe: FATAL. Could not load/lib/modules/2.6.35-22-generic/modules.dep: no such file or directory
Have no idea if this is relevant, but the "FATAL" caught my attention.)

What is causing this behavior? What can I do to solve it? What information would be helpful to you?

Do I need to reinstall Ubuntu?
 
Old 01-19-2011, 04:13 PM   #2
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Greetingz!

Well, for starters, assuming it's your Ubuntu install that's having these issues, I would suggest the following;

1) Make a backup of your home directory.
2) Dump the contents of it (even the hidden files)
3) Login to X again and see if the Browser problems persist.

Note that this is going to have to be done purely on the command line (not by logging into X and opening a Terminal, actually hit Ctrl+Alt+F2 and login).
To backup your home directory, do the following

a) Find out how big it is;
du -sh ~

b) tar -jcvf /path/to/a/filesystem/with/enough/space/home_directory_backup.tar.bz2 -C ~ .
(Check the man page for what the command options do)

c) Empty out your home directory;
cd ~ ; rm -rf ~/*
(Make SURE you haven't created any symbolic links to anything important in there first).

d) Login thru X again, you'll lose all your settings/bookmarks/etc/etc.
e) Try out your browsers.


If that does work, great. Restore *most* of your home directory. If it doesn't; restore the whole thing.

To restore *most* of your home directory;
a) mkdir ~/restore && tar -jxvf /path/to/where/you/saved/the/home_directory_backup.tar.bz2 -C ~/restore .
b) cd ~/restore ; ls -la
Now move everything back to your home directory except the hidden files/directories (files and dirs that start with a dot)


To restore your whole home directory;
tar -jxvf /path/to/where/you/saved/the/home_directory_backup.tar.bz2 -C ~ .


However, if you're experiencing this problem on the Windows-side of your computer, there's a really simple fix;

dd if=/dev/random of=/dev/disk_with_windows_on_it
(Apologies, I couldn't resist being mean just once today. It's my day off.)

Last edited by xeleema; 01-19-2011 at 04:15 PM. Reason: added windows solution.
 
Old 01-19-2011, 04:35 PM   #3
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 316

Original Poster
Rep: Reputation: 32
xeleema, thanks for yours.

I forgot to mention that I have a separate /home directory. Can I just reinstall 10.04 first, or do you think that the problem resides in the /home directory?

I ask (1) because it is a whole lot simpler, and (2) while you laid out the instructions very well, all of that makes my knees wobble. I have not had much experience at the command line. I'm not a new newbie, just a barely advanced one.
 
Old 01-20-2011, 12:07 AM   #4
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Quote:
the problem resides in the /home directory
If you don't want to go thru the hassle of messing with your own personal home directory, just create a new user and login as them.
Then test the browsers. That will tell you right away if it's the OS or just your browser-preferences that are causing the problem.

No need to burn down the house just to roast a pig.
 
Old 01-20-2011, 01:15 PM   #5
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
I wonder whether you are running out of memory? does the disk drive light stay on for extended periods? Could you try
vmstat 2 10
and post the result, please?
 
Old 01-20-2011, 02:52 PM   #6
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 316

Original Poster
Rep: Reputation: 32
I set up a new user account and firefox is running, quick as lightening and so far no problems as I described above.

Here is vmstat:

Quote:
tester@Intel-i3-550:~$ vmstat 2 10
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
4 0 0 1961432 61848 582204 0 0 9 11 1017 186 17 3 79 0
4 0 0 1959944 61856 582328 0 0 0 154 16742 34381 42 3 55 0
0 0 0 1964780 61856 582216 0 0 0 0 16286 33588 43 3 54 0
4 0 0 1965152 61864 582176 0 0 0 6 16563 34229 38 3 58 0
1 0 0 1962392 61872 584048 0 0 130 22 15982 32843 43 3 54 1
1 0 0 1963788 61872 582524 0 0 0 0 17003 34875 40 3 57 0
0 0 0 1962516 61880 582236 0 0 0 148 16828 34616 38 3 58 0
0 0 0 1960036 61888 584408 0 0 66 8 16544 33951 41 2 57 0
1 0 0 1961896 61888 582536 0 0 0 98 16708 34172 39 4 57 0
2 0 0 1962888 61896 582284 0 0 0 28 16597 34089 42 2 55 0
tester@Intel-i3-550:~$ ^C
tester@Intel-i3-550:~$
Hopefully you can interpret that. I agree that it really does seem like a memory problem in the creeping way that it shows itself.

Do I need to go back into my usual account and run vmstat there and post?
 
Old 01-20-2011, 03:05 PM   #7
silvyus_06
Member
 
Registered: Oct 2010
Distribution: Ubuntu 10.04 , Linux Mint Debian Edition , Microsoft Windows 7
Posts: 390

Rep: Reputation: 50
if you are using ubuntu 10.04 with the gnome interface go to system > administration > system monitor , and , while having your browsers open , tell us , how much RAM is being used, and how much swap(if it uses it of course)
 
Old 01-20-2011, 03:19 PM   #8
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 316

Original Poster
Rep: Reputation: 32
Here is the information from the new user account:

CPU1- 30-50%
CPU2-SAME
3 - 38-62%
4 - 37-50%

Memory 1.2GB of 3.7
Swap 0.0

But I expect that it is the data from the problem account that you want. I will restart in the normal account and see what it shows immediately after boot, then let it run for awhile with the browsers open and take a new reading, then post again.
 
Old 01-20-2011, 03:20 PM   #9
silvyus_06
Member
 
Registered: Oct 2010
Distribution: Ubuntu 10.04 , Linux Mint Debian Edition , Microsoft Windows 7
Posts: 390

Rep: Reputation: 50
good idea
go for it
 
Old 01-20-2011, 04:09 PM   #10
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 316

Original Poster
Rep: Reputation: 32
When I rebooted the machine was using less than 10% of memory. I restarted the Chrome and the Firefox browsers and they have been running since my last post. The % of memory has climbed steadily and is now over 90% and this is without me opening any new tabs or refreshing any already opened tabs. Swap use is about 75 Mib (3.9%). Memory use just dropped to 75%, then bounced up to 85, then 91.

What does this look like to you?
 
Old 01-20-2011, 04:14 PM   #11
silvyus_06
Member
 
Registered: Oct 2010
Distribution: Ubuntu 10.04 , Linux Mint Debian Edition , Microsoft Windows 7
Posts: 390

Rep: Reputation: 50
post actual numbers in GB !

percent is relative to the amount of ram you have. just tell us how much physical ram you are using.

*man , you really have a bunch of tabs opened! how many tabs do u have in chrome and in firefox?*
 
Old 01-20-2011, 04:26 PM   #12
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 316

Original Poster
Rep: Reputation: 32
memory is 3.3 Gb of 3.7 Gb
swap is 1.0 Gb of 1.7 Gb

Last edited by Odyssey1942; 01-20-2011 at 04:29 PM.
 
Old 01-20-2011, 04:31 PM   #13
silvyus_06
Member
 
Registered: Oct 2010
Distribution: Ubuntu 10.04 , Linux Mint Debian Edition , Microsoft Windows 7
Posts: 390

Rep: Reputation: 50
edit: oops i thought i did't post . sorry. you really have a problem .

try closing a few tabs. you really use much memory. you only have the browsers open?? it's too much. look in the section of processes. see which one eats the ram. kill it.

Last edited by silvyus_06; 01-20-2011 at 04:32 PM.
 
Old 01-20-2011, 04:45 PM   #14
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 316

Original Poster
Rep: Reputation: 32
Firefox was hoggin memory. It may be relevant that I opened Chrome first, so that FF was the last man trying to crowd into limited space. I killed FF and memory in use has dropped to 920 MiB of 3.7 GiB with swap about 919 out of 1.9 (for convenience in future I will use the convention .920/3.7 and .919/1.9 OK?)

I will let that run for a bit and use Chrome to see what happens to mem use, then restart it with FF first and Chrome next to see how this goes.

I want to stress that the current number of browser instances above, before quitting FF, was no more that 1/4 or 1/3 of the number I used to run prior to this problem developing, and the computer ran much faster (i.e., windows refreshed faster, etc.)

BTW, mem use has crept up to .928/3.7 while I typed the above. no change in swap, but isnt' the swap way too high?
 
Old 01-20-2011, 05:09 PM   #15
Odyssey1942
Member
 
Registered: Jul 2006
Posts: 316

Original Poster
Rep: Reputation: 32
I renamed .mozilla and restarted FF. Mem has climbed to 1.015/3.7 but swap has dropped to .880/1.9.

FWIW, gtk-gnash has several instances running with the top three running about 20% of CPU's each and the next several bout 4% each. Most of the time they are sleeping.Does this mean that they are not refreshing or otherwise communicating with the remote server/webpage they are logged onto?
 
  


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
Ubuntu Studio Screen Resolution Problems--do I need to reinstall? Tom Nichol Ubuntu 1 11-02-2010 06:22 PM
[SOLVED] network and video problems after reinstall konzo Linux - Newbie 5 12-05-2009 05:33 AM
Reinstall Slack's LILO after WIndows XP reinstall __spc__ Linux - Newbie 3 02-15-2009 09:04 AM
reinstall the konqueror browser or... eduac Linux - Software 5 06-26-2003 08:06 AM
browser problems TravisB Linux - General 7 03-08-2002 09:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:24 PM.

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