Firefox takes ~5 minutes to startup (even the Profile Manager and in every possible modes)
Firefox takes about 5 minutes to load every it launches, before working smoothly like it should. This problem occured first time yesterday morning, and I have no idea what could have caused it.
It happens :
- when I launch firefox normally (whatever the profile)
- when I launch it from the terminal (it provides no output at all)
- when I tell it to launch the Profile Manager (5 minutes to see the Profile Manager appear, then 5 more minutes to launch firefox using the selected profile)
It does not happen :
- when I click "New Window" inside an existing firefox process
- when I call `firefox --help` from the terminal
Here's what I've tried :
- First, I've seen pretty much every article from Mozilla Support, Reddit or SuperUser (writing this question is kind of my last resort)
- I've tried removing and then reinstalling Firefox from Flatpak, from the Fedora repos (using `sudo dnf install firefox`) and using the manual install via the archive (v125)
- I've tried downgrading firefox (when using the package manager install) from v125 to v124
- I've also tried the Firefox Developer Edition, same problem here
- I've tried using the "Refresh Firefox" feature and restarting in Troubleshoot Mode (both are also affected by the slow startup, which makes them particularly painful to execute)
- I've tried manually deleting the `~/.mozilla/` folder (= manually deleting my profiles)
When firefox launches, it does not freezes my OS and does not seem to use many system ressources : CPU usage is normal, RAM as well, and it does not seem to read many things from the disk as well (I've seen some threads where this was the issue).
And here is something interesting that I discovered :
- loading (including refreshing) `about:profiles` is also slow and this time freezes firefox (OS reports it as not responding, I can't switch tabs and I can't see my mouse). Other about pages seem to work fine (although I did not try them all)
Thanks !
PS : Even if I think it has nothing to do with the issue, I prefer to mention it here : I was messing with virtual machines yesterday when the issue occured for the first time. My disk got full at some point and I don't know but it might have messed with firefox. At this stage, I had not deleted any files that could relate somehow to Firefox, that's why I doubt it would have caused anything harmful to Firefox. (instead, I mounted an empty partition from my disk to get some space)
Alle Antworten (5)
Does the following command respond quickly or timeout?
hostname -f
It does not timeout but it does not respond quickly either (see attached screenshot). And my username is `martinheywang`.
Firefox starts slowly only if I am connected to the Wifi. So right now, I have to disable wifi if I want to open Firefox quickly, then re-enable it to actually browse pages.
I found this page that have seemed to help some people : https://bbs.archlinux.org/viewtopic.php?id=193944 But I'm not sure if it applies to me since I'm not on Arch Linux.
I find it kind of funny :laughing:
Geändert am
Martin Heywang said
Firefox starts slowly only if I am connected to the Wifi. So right now, I have to disable wifi if I want to open Firefox quickly, then re-enable it to actually browse pages. I found this page that have seemed to help some people : https://bbs.archlinux.org/viewtopic.php?id=193944 But I'm not sure if it applies to me since I'm not on Arch Linux. I find it kind of funny :laughing:
Did you try it? What is your local host? Just dig, ping, or nslookup localhost.
Should be Name: localhost Address: 127.0.0.1
Geändert am
You can run strace to see what's going on from the start. You can then kill the process ID after a few seconds because you just want to see what's happening during startup.
strace -t -o firefox_debug.txt firefox &