Bug 27351 - Firefox very slow to handle requests
Summary: Firefox very slow to handle requests
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks: 28788
  Show dependency treegraph
 
Reported: 2020-10-03 16:13 CEST by Olivier FAURAX
Modified: 2022-07-16 13:50 CEST (History)
4 users (show)

See Also:
Source RPM: firefox-78.3.0-1.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Olivier FAURAX 2020-10-03 16:13:34 CEST
Webpages get minutes to load.

On the same machine, Firefox ESR 78.3.0 from Mozilla can load with the SAME profile and doesn't have this problem.

The network is available and the URLs are good.
But you can wait 2min for a webfont to be loaded, after having waited 2min to get the webpage.

It's not firefox that is slow: I can access about:addons quickly, but the requests to the network.

It might be related to TLS stuff, as each validation of certificates takes at least 2s, but not sure this is related.
Comment 1 Aurelien Oudelet 2020-10-05 15:19:15 CEST
Hi, thanks for reporting this bug.

Did all packages updated?
Here is some list related to this big update:

$ rpm -qa --latest | grep must return at least on x86 32-bits

nss-3.57.0-1.mga7.i586                        mar. 29 sept. 2020 21:24:10 CEST
libgnutls30-3.6.15-1.mga7.i586                mar. 29 sept. 2020 21:24:10 CEST
crypto-policies-20200813-1.mga7.noarch        mar. 29 sept. 2020 21:24:10 CEST
firefox-78.3.0-1.mga7.i586                    mar. 29 sept. 2020 21:24:10 CEST
rootcerts-java-20200911.00-1.mga7.noarch      mar. 29 sept. 2020 21:24:10 CEST
rootcerts-20200911.00-1.mga7.noarch           mar. 29 sept. 2020 21:24:10 CEST
firefox-fr-78.3.0-1.mga7.noarch               mar. 29 sept. 2020 21:24:10 CEST
libnss3-3.57.0-1.mga7.i586                    mar. 29 sept. 2020 21:24:10 CEST
p11-kit-trust-0.23.21-1.mga7.i586             mar. 29 sept. 2020 21:24:10 CEST
p11-kit-0.23.21-1.mga7.i586                   mar. 29 sept. 2020 21:24:10 CEST
libp11-kit0-0.23.21-1.mga7.i586               mar. 29 sept. 2020 21:24:10 CEST
libnspr4-4.29-1.mga7.i586                     mar. 29 sept. 2020 21:24:10 CEST

Keywords: (none) => NEEDINFO
CC: (none) => ouaurelien

Comment 2 Lewis Smith 2020-10-06 13:01:09 CEST
Trying firefox-78.3.0-1.mga7 on up-to-date Mageia 7 x64 as per the package list above, I find things no worse than normal, and no worse than other browsers. My line is slow, web sites are shockingly 'heavy'.

@Olivier
You should have said more exactly what version of Firefox you are reporting:
 $ rpm -q firefox
We have assumed the latest.

(In reply to Olivier FAURAX from comment #0)
> Webpages get minutes to load.
> On the same machine, Firefox ESR 78.3.0 from Mozilla can load with the
> SAME profile and doesn't have this problem.
This looks significant. Can you confirm that the problem arose with the update?
And whether your comparison with Mozilla's Firefox was on the same Mageia system? (Implying that you replaced Mageia's Firefox with the Mozilla one).

Source RPM: firefox-78.3.0 => firefox-78.3.0-1.mga7.src.rpm
CC: (none) => lewyssmith

Comment 3 Frank Griffin 2020-10-06 13:45:16 CEST
Does this happen after the firefox instance has been in use for some time, or immediately when it is brought up ?

I have noticed degradation in firefox for years, but then I keep about 80 tabs open all the time, and I suspect that over time scripts on these pages start to degrade performance.  If I kill firefox and restart it, the problem goes away.

I suspect this is due less to firefox than to the crap that people load into their pages.  Many news site pages now include active videos that run continually.  It's like watching the portraits in Dumbledore's office in Harry Potter.

CC: (none) => ftg

Comment 4 Olivier FAURAX 2020-10-07 11:25:10 CEST
Hello,
I don't have the system at hand now, but I can answer some questions.

@Aurelien:
The system was update at the time I wrote the bug report.
I suspected a package error, so I made the updates to be OK, and re-checked.

@Lewis:
The thing is that I type "google.com" and need to wait ~2min (really, ~120s) to get the page, then again ~120s to get the logo.
It's the "network request part" of Firefox that is slow. If I open about:about, it's immediate.

I tested "Mageia Firefox" and "Mozilla Firefox" on the SAME machine, with the SAME firefox profile, with the SAME open tabs.

I already had the same problem with past Mageia Firefox releases, but I didn't took the time to report it. I was too busy finding an alternative to be able to work...
Comment 5 Olivier FAURAX 2020-10-07 19:41:00 CEST
$ rpm -qa --last | head
rootcerts-java-20200911.00-1.mga7.noarch      sam. 03 oct. 2020 14:59:15 CEST
libp11-kit0-0.23.21-1.mga7.i586               sam. 03 oct. 2020 14:59:15 CEST
libnss3-3.57.0-1.mga7.i586                    sam. 03 oct. 2020 14:59:15 CEST
libnspr4-4.29-1.mga7.i586                     sam. 03 oct. 2020 14:59:15 CEST
libgnutls30-3.6.15-1.mga7.i586                sam. 03 oct. 2020 14:59:15 CEST
lib64zmq5-4.3.3-1.1.mga7.x86_64               sam. 03 oct. 2020 14:59:15 CEST
lib64raw19-0.19.2-1.1.mga7.x86_64             sam. 03 oct. 2020 14:59:15 CEST
samba-client-4.10.18-1.mga7.x86_64            sam. 03 oct. 2020 14:59:14 CEST
lib64proxy-devel-0.4.15-4.1.mga7.x86_64       sam. 03 oct. 2020 14:59:14 CEST
lib64nss-static-devel-3.57.0-1.mga7.x86_64    sam. 03 oct. 2020 14:59:14 CEST
Comment 6 Lewis Smith 2020-10-08 21:29:10 CEST
Thank you for confirmations & the specific test in comment 4:
> I tested "Mageia Firefox" and "Mozilla Firefox" on the SAME machine,
> with the SAME firefox profile, with the SAME open tabs.
See also bug 27352 about Firefox 78.3.0, although a different problem.
Alas, the same method: assign globally (FF has no specific maintainer) hoping someone will have an idea. CC'ing DavidW.

Keywords: NEEDINFO => (none)
Assignee: bugsquad => pkg-bugs
CC: lewyssmith => luigiwalser

Aurelien Oudelet 2021-04-16 13:20:43 CEST

Blocks: (none) => 28788

Comment 7 Olivier FAURAX 2021-04-26 09:43:17 CEST
Tested several days ago. Still valid.
Comment 8 Dave Hodgins 2021-04-26 23:56:01 CEST
What's the output of "/sbin/ifconfig -a|grep inet6"? I'm thinking this may
be due to handling of ipv6 dns failure handling. Just speculation about what
might be different based on other problems I've seen.

CC: (none) => davidwhodgins

Comment 9 Aurelien Oudelet 2021-06-01 17:36:31 CEST
Reporter, could you please reply to the previous question? If you don't reply within two weeks from now, I will have to close this bug as OLD. Thank you.

Also, can you test with Firefox ESR 78.11 from https://bugs.mageia.org/show_bug.cgi?id=29064 ?

Keywords: (none) => NEEDINFO

Comment 10 Olivier FAURAX 2021-06-02 09:55:03 CEST
Sorry for the late reply:
$ /sbin/ifconfig -a | grep inet6
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        inet6 fe80::626c:66ff:fe30:1a3d  prefixlen 64  scopeid 0x20<link>
        inet6 2a01:e0a:9c1:b2d0:626c:66ff:fe30:1a3d  prefixlen 64  scopeid 0x0<global>
Comment 11 Olivier FAURAX 2021-06-02 10:16:55 CEST
It seems ok now on firefox-78.10.0-1.1.mga7
Comment 12 David Walser 2021-07-03 21:19:28 CEST
Thanks.

Resolution: (none) => FIXED
Status: NEW => RESOLVED

Comment 13 Olivier FAURAX 2022-07-16 13:50:30 CEST
For the record, it seems related to nss which is the way glibc does DNS.

Note You need to log in before you can comment on or make changes to this bug.