Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #192533 > unrolled thread

Firefox too slow when opening new window or typing in the URL

Started bydeloptes <deloptes@gmail.com>
First post2018-02-17 10:10 +0100
Last post2018-02-17 14:30 +0100
Articles 9 — 5 participants

Back to article view | Back to linux.debian.user


Contents

  Firefox too slow when opening new window or typing in the URL deloptes <deloptes@gmail.com> - 2018-02-17 10:10 +0100
    Re: Firefox too slow when opening new window or typing in the URL Reco <recoverym4n@gmail.com> - 2018-02-17 11:40 +0100
      Re: Firefox too slow when opening new window or typing in the URL deloptes <deloptes@gmail.com> - 2018-02-17 14:20 +0100
        Re: Firefox too slow when opening new window or typing in the URL Liam O'Toole <liam.p.otoole@gmail.com> - 2018-02-17 15:40 +0100
          Re: Firefox too slow when opening new window or typing in the URL deloptes <deloptes@gmail.com> - 2018-02-17 18:00 +0100
          Re: Firefox too slow when opening new window or typing in the URL deloptes <deloptes@gmail.com> - 2018-02-17 18:30 +0100
            Re: Firefox too slow when opening new window or typing in the URL Curt <curty@free.fr> - 2018-02-17 20:10 +0100
    Re: Firefox too slow when opening new window or typing in the URL Erik Christiansen <dvalin@internode.on.net> - 2018-02-17 12:10 +0100
      Re: Firefox too slow when opening new window or typing in the URL deloptes <deloptes@gmail.com> - 2018-02-17 14:30 +0100

#192533 — Firefox too slow when opening new window or typing in the URL

Fromdeloptes <deloptes@gmail.com>
Date2018-02-17 10:10 +0100
SubjectFirefox too slow when opening new window or typing in the URL
Message-ID<vk6Fj-4Wf-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hi all,
perhaps someone of you has dealt with this issue and can give me an idea how
can I fix it.

Since couple of months firefox is taking too long to open a new window or
new page.
When I press "CTRL+n" it opens the window but whole firefox gets blocked
until something happens in the background and then all content is visible
again.
When I start typing the URL same behavior. Not all the time, but mainly
related to new window.

I use this user profile for approx. 15y and the profile is located on NFS
share. I have 1GB connection to the server. I was thinking maybe that it is
because the sqlite databases grew with the time or there is a race
condition violated.

attached are the databases in the profile

thanks in advance

[toc] | [next] | [standalone]


#192535

FromReco <recoverym4n@gmail.com>
Date2018-02-17 11:40 +0100
Message-ID<vk84q-5Ot-5@gated-at.bofh.it>
In reply to#192533
	Hi.

On Sat, Feb 17, 2018 at 10:00:07AM +0100, deloptes wrote:
> Hi all,
> perhaps someone of you has dealt with this issue and can give me an idea how
> can I fix it.
> 
> Since couple of months firefox is taking too long to open a new window or
> new page.
> When I press "CTRL+n" it opens the window but whole firefox gets blocked
> until something happens in the background and then all content is visible
> again.
> When I start typing the URL same behavior. Not all the time, but mainly
> related to new window.
> 
> I use this user profile for approx. 15y and the profile is located on NFS
> share. I have 1GB connection to the server. I was thinking maybe that it is
> because the sqlite databases grew with the time or there is a race
> condition violated.

Well, if it's sqlite databases you're worried about, then install
"sqlite3" package, shutdown firefox (important!), and run something like this:

for x in $(find .mozilla -name '*sqlite'); do
	sqlite3 "$x" "VACUUM;"
done

But I prefer another approach - the only things that's I actually need
in Firefox profile are prefs.js file maybe addons. Meaning that yes, I
*do not* need history, cookies and all these HTML5 databases that
Firefox persistently stores there for reasons unknown.

So I just remove anything unneeded from .mozilla/firefox periodically.

Reco

[toc] | [prev] | [next] | [standalone]


#192545

Fromdeloptes <deloptes@gmail.com>
Date2018-02-17 14:20 +0100
Message-ID<vkazg-7va-15@gated-at.bofh.it>
In reply to#192535
Reco wrote:

> Well, if it's sqlite databases you're worried about, then install
> "sqlite3" package, shutdown firefox (important!), and run something like
> this:
> 
> for x in $(find .mozilla -name '*sqlite'); do
> sqlite3 "$x" "VACUUM;"
> done

$ time for x in $(find .mozilla -name '*.sqlite'); do
sqlite3 "$x" "VACUUM;"; done

real    1m54.699s
user    0m2.196s
sys     0m2.713s


This is absolutely not ok, though I don't think it reads all when it loads,
I have the impression I wait for roughly 1min.

> 
> But I prefer another approach - the only things that's I actually need
> in Firefox profile are prefs.js file maybe addons. Meaning that yes, I
> *do not* need history, cookies and all these HTML5 databases that
> Firefox persistently stores there for reasons unknown.

Might be I need to clean up and see if it makes a difference

thanks

[toc] | [prev] | [next] | [standalone]


#192555

FromLiam O'Toole <liam.p.otoole@gmail.com>
Date2018-02-17 15:40 +0100
Message-ID<vkbOF-8cS-5@gated-at.bofh.it>
In reply to#192545
On 2018-02-17, deloptes <deloptes@gmail.com> wrote:

[...]

> Might be I need to clean up and see if it makes a difference
>
> thanks

After 15 years, probably yes. I suggest you consider a refresh[1]. Make
sure you understand what will be kept and what will be discarded, and
how to recover the previous state of your profile if necessary.

1:
https://support.mozilla.org/en-US/kb/refresh-firefox-reset-add-ons-and-settings

-- 

Liam

[toc] | [prev] | [next] | [standalone]


#192564

Fromdeloptes <deloptes@gmail.com>
Date2018-02-17 18:00 +0100
Message-ID<vke09-17B-1@gated-at.bofh.it>
In reply to#192555
Liam O'Toole wrote:

> After 15 years, probably yes. I suggest you consider a refresh[1]. Make
> sure you understand what will be kept and what will be discarded, and
> how to recover the previous state of your profile if necessary.

Hi,

thanks for the link. This is probably exactly what I need to do. After more
than 15y behind linux pc, I think I know how to backup one directory.

thanks and regards

[toc] | [prev] | [next] | [standalone]


#192566

Fromdeloptes <deloptes@gmail.com>
Date2018-02-17 18:30 +0100
Message-ID<vketc-1wa-9@gated-at.bofh.it>
In reply to#192555
Liam O'Toole wrote:

> On 2018-02-17, deloptes <deloptes@gmail.com> wrote:
> 
> [...]
> 
>> Might be I need to clean up and see if it makes a difference
>>
>> thanks
> 
> After 15 years, probably yes. I suggest you consider a refresh[1]. Make
> sure you understand what will be kept and what will be discarded, and
> how to recover the previous state of your profile if necessary.
> 
> 1:
>
https://support.mozilla.org/en-US/kb/refresh-firefox-reset-add-ons-and-settings

I tried this now, so it says in the first paragraph:

If you're having problems with Firefox, refreshing it can help. The refresh
feature fixes many issues by restoring Firefox to its default state while
saving your essential information like bookmarks, passwords, and open tabs. 

but all my passwords were wiped out :(

bookmarks were preserved, but I want to keep my passwords ... not happy

However behavior of firefox improved, so I'll need to find out how to
export/import passwords and other stuff before resetting this.

regards

[toc] | [prev] | [next] | [standalone]


#192570

FromCurt <curty@free.fr>
Date2018-02-17 20:10 +0100
Message-ID<vkg1Y-2CK-25@gated-at.bofh.it>
In reply to#192566
On 2018-02-17, deloptes <deloptes@gmail.com> wrote:
>>
> https://support.mozilla.org/en-US/kb/refresh-firefox-reset-add-ons-and-settings
>
> I tried this now, so it says in the first paragraph:
>
> If you're having problems with Firefox, refreshing it can help. The refresh
> feature fixes many issues by restoring Firefox to its default state while
> saving your essential information like bookmarks, passwords, and open tabs. 
>
> but all my passwords were wiped out :(

Passwords are stored in the 'key4.db' and 'logins.json' files. If those
files weren't inadvertently wiped out (the whole kit and caboodle of
your previous profile is normally saved somwhere when you refresh), you
should be able to retrieve them.

I found a python script on github that can extract them nicely, if you want to
keep them someplace safer (see my previous post here).

> bookmarks were preserved, but I want to keep my passwords ... not happy
>
> However behavior of firefox improved, so I'll need to find out how to
> export/import passwords and other stuff before resetting this.
>
> regards
>
>


-- 
New York was no mere city. It was instead an infinitely romantic notion, the
mysterious nexus of all love and money and power, the shining and the
perishable dream itself. To think of 'living' there was to reduce the
miraculous to the mundane; one does not 'live' at Xanadu. --Joan Didion

[toc] | [prev] | [next] | [standalone]


#192536

FromErik Christiansen <dvalin@internode.on.net>
Date2018-02-17 12:10 +0100
Message-ID<vk8xr-6eS-9@gated-at.bofh.it>
In reply to#192533
On 17.02.18 10:00, deloptes wrote:
> Since couple of months firefox is taking too long to open a new window or
> new page.

Whenever that happens here, I just clear the cookies & cache with
CTRL+SHIFT+DEL. That puts a spring in its step again.

Admittedly, my old mobo is too slow for video streaming, so I bought a
Udoo-X86 for that - with very satisfying results. Except very
occasionally, when video freezes just as on the old slow mobo, and it's
necessary to click on the progress bar under the display. Relevance? I
suspect there's a kilo and a half of gummy sludge in every instance of
Firefox, and you have to knock it loose regularly to keep the thing
working. (If there's a commercial version out there, that might explain
it.)

Erik

[toc] | [prev] | [next] | [standalone]


#192546

Fromdeloptes <deloptes@gmail.com>
Date2018-02-17 14:30 +0100
Message-ID<vkaIV-7zV-3@gated-at.bofh.it>
In reply to#192536
Erik Christiansen wrote:

> Whenever that happens here, I just clear the cookies & cache with
> CTRL+SHIFT+DEL. That puts a spring in its step again.
> 

I tried this already and it did not help

> Admittedly, my old mobo is too slow for video streaming, so I bought a
> Udoo-X86 for that - with very satisfying results. Except very
> occasionally, when video freezes just as on the old slow mobo, and it's
> necessary to click on the progress bar under the display. Relevance? I

my pc is normal desktop i5 with 8GB RAM, intel video - works great.

> suspect there's a kilo and a half of gummy sludge in every instance of
> Firefox, and you have to knock it loose regularly to keep the thing
> working. (If there's a commercial version out there, that might explain
> it.)

no idea what your experience is - for me it worked really good as I said for
the past 15y.

regards

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web