Author Topic: firefox nonresponsive  (Read 475 times)

Offline lschachter

  • New Friend
  • *
  • Posts: 2
firefox nonresponsive
« on: December 04, 2011, 01:49:59 PM »
Just updated with latest files in repository, so everything is up to date.  When I start firefox, it restores my session and I can maybe get to one page before it sits looping, taking all the cpu and never giving me a repsonse.  I have to kill and start again.  All other programs run fine, including both opera and thunderbird.  I reinstalled firefox (8.0.1) and there was no change.  If you watch the tabs, you see it loading pages and then it just stops responding and if you look at top, it's taking 90% of the cpu.  Any suggestions would be appreciated.

Offline rubentje1991

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2110
  • Rubenus Parvus MCMXCI
Re: firefox nonresponsive
« Reply #1 on: December 04, 2011, 02:08:25 PM »
delete the directory with the configurations in your home-dir (backup your bookmarks etc...)


it's in ~/.mozilla/firefox  :)

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: firefox nonresponsive
« Reply #2 on: December 04, 2011, 04:08:53 PM »
No, don't delete the directory. Just use a trick to optimize Firefox. I get the names and come back in a few seconds...

/Edit : you can use a command line for this, or Bleachbit. In both cases you need sqlite-tools installed.

Then, in Bleachbit, as user, with Firefox closed, tick on the different choices to clean Firefox : you may want to remove the history, or not, you will want to remove cookies... and so on, especially you will want the option "Optimize" selected.

Click on the preview button. Look at the list on the right side. If there is no file you want to keep in the given list, proceed with the button "Clean". If there is or there are files you want to keep, in the list, hit the menu "Edit > Preferences" and add the files to be kept in the white list. Then redo : preview, look, then clean.

After this, Firefox should be snappier ! If not, look at how many plugins are installed, run firefox from console and look at the messages in console, and also seek for related messages in the file $HOME/.xsession-errors.

/Edit 2 : who is interested in the command lines ? Here first, the one to list the files to be cleaned:

Code: [Select]
$ find . -name ‘*sqlite*’ -exec ls -l {} ;
then, the one to to perform the cleaning:
Code: [Select]
$ find . -name ‘*sqlite*’ -exec sqlite3 {} ‘vacuum’ ;
« Last Edit: December 04, 2011, 04:18:06 PM by melodie »
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline rubentje1991

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2110
  • Rubenus Parvus MCMXCI
Re: firefox nonresponsive
« Reply #3 on: December 05, 2011, 05:14:22 AM »
@Melodie
Indeed a better way to clean Firefox up a little bit......
=> my actions in these matters are sometimes a little radical  :P :D (I can't count anymore how many times I've erased my bookmarks - and still not syncing to some safe place  :-\ ;D)

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: firefox nonresponsive
« Reply #4 on: December 05, 2011, 06:08:30 AM »
@Melodie
Indeed a better way to clean Firefox up a little bit......
=> my actions in these matters are sometimes a little radical  :P :D (I can't count anymore how many times I've erased my bookmarks - and still not syncing to some safe place  :-\ ;D)

Hi rubentje1991,

Lately I could not access to some information (javascripted) on a website. After a good cleaning, the problem was solved. ;)

In case you think your configs are corrupted, you can just move them out of the way by renaming them with a "-backup" extension. ie : "mv .mozilla .mozilla-bak"

This way if you find out it solved the problem you can always dive into the subdirectories to fetch whatever you need. (bookmark.html, list of plugins... )
melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15309
  • ┌∩┐(◕_◕)┌∩┐
Re: firefox nonresponsive
« Reply #5 on: December 05, 2011, 06:16:19 AM »
I agree, I regularly clean/vacuum Firefox

I use Bleachbit as it seems to do a very good job. I always run Bleachbit with Firefox closed (and any other items I may be cleaning)
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: firefox nonresponsive
« Reply #6 on: December 05, 2011, 06:41:51 AM »
I agree, I regularly clean/vacuum Firefox

I use Bleachbit as it seems to do a very good job. I always run Bleachbit with Firefox closed (and any other items I may be cleaning)

A pair of years ago I realized that sqlite-tools was not a depend for either or Firefox / Bleachbit. However it is very needed for the vacuum feature, so in all Openbox versions I add it systematically.

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline demilord

  • Full Member
  • ***
  • Posts: 220
  • Windows not supported
Re: firefox nonresponsive
« Reply #7 on: December 05, 2011, 02:34:49 PM »
I am sorry to hijack this but what does exactly vacuum do?
Office required Windows XP or better, so I installed PCLinuxOS :D

Offline davexnet

  • Full Member
  • ***
  • Posts: 128
Re: firefox nonresponsive
« Reply #8 on: December 06, 2011, 12:08:40 AM »
"vacuum" rebuilds and optimizes the sqlite databases.
This makes them smaller, more efficient, faster.
AMD64 x2 4200; 2 GB Ram; EVGA 8600GT; Biostar Geforce6100 M9 MB