Additionally, snaps are not an Ubuntu project, despite being a Canonical Product. Help with most things snap-related should be directed to https://forums.snapcraft.io.
I ran into the same issues myself. From what I can tell, the AppArmor rules arenāt being applied correctly by the SNAP package. Unfortunately, thereās no way to fix this permanently on the local side when using SNAP. After quite a bit of research, I decided to switch over to the Mozilla Debian package instead. Below youāll find my analysis along with a stepābyāstep guide. Since making the change, Firefox shows a much lower CPU footprint and runs noticeably smoother overall.
I was seeing that on 25.10 yesterday (donāt see it in dmesg now but was tweaking stuff), but it seems interesting: Why does Firefox need to poll memory usage or care about it?
With my moderator hat on, I need to make the following comments:
We appreciate the time and effort you took to find a solution that works for you.
I stress for you because this is not the recommended course of action that we would suggest to users.
Adding caveats and warnings to your guide would be my suggestion as well as steps on how to revert those changes back to the default.
I am certain the last thing you would want is for someone to come back here reporting a broken system because they followed that guide.
Note to all users:
We always prefer to try and find solutions to issues, whenever possible, before taking the step to remove a snap (or any other package) but recognize that sometimes we have no choice.
Please be aware, however, that support may be limited or we may redirect you to other forums to deal with any issues arising from such changes.
Thanks for your friendly and thoughtful feedback. I understand your concerns and agree this approach is more suitable for advanced users.
Following your suggestion, Iāve updated the GitHub gist: it now starts with a clear disclaimer and ends with instructions on how to revert/undo the changes to return to the default Snap setup.