this post was submitted on 16 Nov 2024
27 points (96.6% liked)

Firefox

17902 readers
34 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 4 years ago
MODERATORS
 

I'm running the Ubuntu snap version of Firefox and recently I've had a problem where the more files I download the more sluggish downloads become. When I download a file now, even a few KB, Firefox becomes unresponsive for a few seconds, including video in other windows freezing. For longer downloads, Firefox is unresponsive the entire time. During downloads Firefox uses 1 core 100% in htop and about:performance shows "Firefox" using 100%

Clearing all data in settings doesn't help

Clearing the list of downloaded files doesn't help.

Deleting the profile fixes it, but the problem comes back as I download files.

I have a policies.json file that sets some privacy related settings and installs 3 addons ([email protected], [email protected], @testpilot-containers).

I also have a hosts file that blocks all mozilla domains (except addons.mozilla.org)

I have a fast CPU, tons of ram and a nvme drive.

I'm not really sure how to debug this?

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 10 points 1 day ago (1 children)

Since you're blocking Mozilla domains, my first thought was that it might have to do with the automatic malware checks for downloaded files. But the knowledge base article says it only checks executables, and it doesn't sound like it tries to contact a Mozilla server either.
But yeah, maybe you want to try turning that off in the settings for debugging either way.

The other suspicion is immediately Snap, primarily because I've seen quite some brokenness from Snap Firefox already.
You can try downloading the non-Snap version from the webpage directly: https://www.mozilla.org/en-GB/firefox/all/desktop-release/linux64/
That'll give you a .tar.bz2, which you just unpack and run the firefox binary inside.

If it works there and you want to permanently switch, you probably want to use Mozilla's APT repo: https://support.mozilla.org/en-US/kb/install-firefox-linux#w_install-firefox-deb-package-for-debian-based-distributions-recommended

[–] [email protected] 7 points 1 day ago (1 children)

Getting the mozilla build fixed the issue, thanks.

How weird. A little unfortunate too since the snap version has apparmor confinement.

[–] [email protected] 3 points 11 hours ago

Might be worth reporting a bug against the Snap version? I think there's usually a "Report a bug" menu entry under "Help" in the menu?

[–] [email protected] 1 points 1 day ago

bad network driver?