Just before this happened, I have snap, flatpak, and extra firefox installed so whenever one crashes often, I’d just switch to different firefox. Recently, my snap firefox tabs often crashes. I can’t find the cause of it. I don’t know if its because of my laptop itself, the kernel I’m using, or I don’t know. Everything is up to date. I tried asking AI with GPT4, but didn’t solve my issue. I’m not that knowledgeable yet in linux but it is my daily driver.
I always get this error whenever I try to install snap firefox (will also attach screenshots below):
[user@user ~]$ sudo snap install firefox
[sudo] password for user:
error: cannot perform the following tasks:
- Fetch and check assertions for snap "firefox" (3779) (cannot verify snap "firefox", no matching signatures found)
I also tried using the pamac GUI but nothing changed.
My laptop is ASUS X441UR, I use HDD.
I will attach a screenshot of my neofetch here incase its needed.
Mod edit: Removing text pictures.
A little offtopic because i do not use snaps and cannot help…but food for thought. Honestly…you would probably be better off using winboze…or at least ubuntu if you want to use snaps.
Maybe you should find out why are your browsers crashing at the first place?
Besides, you do not need 3 firefoxes…you can just start another instance with another user profile.
And last but not least - copy paste text instead of making a screenshot. And do not use neofetch, there is inxi for system info.
thanks for the tips! I didn’t know about inxi until now.
I installed three firefox because sometimes while I’m using firefox, every tabs suddenly crashes. I can’t pin point the cause. I just switch kernel or switch to a different firefox. It fixes my problem temporarily but still can’t find the actual cause of the crash. I’m using the snap firefox for so long I think about 5 months or more then the crash suddenly happened.
so I tried to refresh it, but nothing changed, then tried to remove and install it again, this time I can’t install it back. so I’m currently using the official repository firefox. still crashing sometimes so might do the same back then if my firefox crash often. or might switch to flatpak temporarily and observe if the crash still persists.
thanks for noticing! I didn’t know my swap was turned off, I just checked in GParted now I right click and there is a button Swapon. I currenly have 3 operating system installed in my HDD. two linux and one windows, its on multiboot. I just Swapon the swap partition in my other distro too and the distro that I’m currently using right now and my primary distro which is Manjaro also reads the swap of the other one?
my swap for each distro is 2GB, I have enough memory I think? that’s why I only made my swap that way, is it enough? or I need to resize and extend it?
[user@user ~]$ free -h
total used free shared buff/cache available
Mem: 11Gi 10Gi 522Mi 1.1Gi 2.3Gi 1.3Gi
Swap: 3.9Gi 0B 3.9Gi
According to your output you have 11G of RAM, and you are currently using almost 10G of it.
Also your SWAP is just under 4G, and you arent using any of it.
So that tells me a few things …
No, it is not enough memory - you are currently just about maxing it out, and I assume its not because posting here is your heaviest workload.
Your SWAP is pretty small, but its also not being engaged in a reasonable way. If you are using 90%+ of your available memory … some SWAP should be used. So beyond the size you may want to check other settings because it doesnt seem to be being used, at least not as much as I would think it should be.
The cpu is also maxed out. So you are running your system at full load memory and cpu wise. No wonder that it feels slow. What are you doing if not a secret? Crypto? Transcoding video?
Thanks! I will add more storage for my swap partition incase my firefox spikes my cpu and memory again. I will make it 6GB each distro installed on my drive. The reason I get those output because of firefox. I don’t know why firefox spikes my memory even though I only use a few tabs open. I just killall firefox whenever it spikes.
About my output, maybe its just a coincidence that time, the cpu and memory are spiking. The only thing that spikes those two is when I’m using firefox that’s the only thing.
I’m using two workspace, first workspace I have one window of firefox with one tab open constantly because its my facebook messenger chat tab. It’s on my extended monitor. Then my main monitor also have one window of firefox with mostly two to three tabs open, my second workspace have firefox windows opened too but only a fewer tabs are opened.
Most of the time my cpu and memory never goes up 50%, I don’t know sometimes when firefox is opened too long like more than a day or week, these cpu and memory are spiking. I just do killall firefox when that happens.
I don’t do crypto even if I want to learn about it though. Just using my laptop for learning to program or watch anime.
Thanks for the tip! Will try to add more swap maybe 6GB? since my overall memory is 12GB. I don’t know if its enough though.
You might hate to do this but …
(after closing all firefox instances)
firefox --safe-mode
And see how it works.
Just because firefox should not act like this and 90%+ of the time it is down to user configuration, the majority of that time due to bad extensions.
“Adblock Plus - free ad blocker”
“SponsorBlock for Youtube - Skip Sponsorships”
“Dark Reader”
“YouTube NonStop”
“Browsec VPN - Free VPN For Firefox” (only this using like once per three months or less, if necessary)
“AdBlocker Ultimate”
“Save webP as PNG or JPEG” (only active when I visit a webP page)
I don’t know if any of these are secretly mining on my computer causing my cpu and memory to spike. I don’t know how to mine any crypto, my laptop’s hardware specs are incapable of that. Hmmm
From any distance I can still say this:
Neither of these are top-of-their-class adblockers,
And one should never need or use more than one adblock extension at a time.
That is the correct answer for browser extensions generally.
Some people have some good things to say about certain subscription services, but I dont really count those.
Another thing to mention is that ublock:origin has the same/better capabilities of other tools like noscript, so those can be considered redundant as well.
I also like to shape my hosts file - hblock can combine and sort multiple lists for this.
(note that the default of the big browsers is to use their own DNS services … so unless you change that your hosts file will be ignored)