earlyoom has a block on killing the main firefox process, it only kills one of the 8 tab managers. Basically firefox and all tabs stay intact and firefox tells you some of the tabs have crashed and when you go back into that tab it loads right back up. And when you kill (x) the window that tells the main firefox process to close and cleanup all of the tabs, and they go away. Earlyoom works relatively cleanly to control firefox, it is way less annoying than paging on an ssd and basically having to push the power button because nothing is responding and a power button push and reboot and restart of firefox is faster than waiting for it to respond. We can all hope that the browsers get fixed and don't eat ram, but firefox(on both windows and linux), IE(on windows) have had this problem off and on since they were first created, so if the current memory leaks get fixed some less than careful developer will fix and/or add a feature putting another leak back. So, we will always have a new set of leaks to deal with. On Thu, Jan 13, 2022 at 6:01 PM Tim via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote: > > On Thu, 2022-01-13 at 08:45 -0500, Robert Moskowitz wrote: > > So those background tabs tend to have things running along, and I do > > have to figure out this earlyoom to see if it might help here. > > Oh, for what it's worth, you might find earlyoom to bring its own set > of annoyances. If it detects you're close to running out of memory the > behaviour is to try and kill off the process heavily consuming memory. > It won't actually stop the application from using too much resources > but let it keep on running. > > i.e. Firefox will be quit, or it will crash. > > The idea is that the errant application will be halted, rather than > your entire system. Which makes sense, there's little else it can do, > but you'll need to be able to manage resuming Firefox from where you > last had it. > > My experience with Firefox's restore last session feature was only with > multiple tabs, not multiple windows. I know I can't manually kill > multiple windows and than restart and get them all back, I only get > back the last closed window. I've discovered that often enough when > I've accidentally opened a new window instead of tab, and accidentally > closed the wrong window. I don't know how it'll behave when it's been > system killed. > > Things like earlyoom are only trying to work around the actual problem, > an errant program that really needs fixing. We know there are pages > that try and use 99.9%, or maybe 101% of resources, there always has > been, and there always will be, the browser needs to be designed to > better handle that, rather than just expect the user (or OS) to quit > the browser to regain control. > > -- > > uname -rsvp > Linux 3.10.0-1160.49.1.el7.x86_64 #1 SMP Tue Nov 30 15:51:32 UTC 2021 x86_64 > > Boilerplate: All unexpected mail to my mailbox is automatically deleted. > I will only get to see the messages that are posted to the mailing list. > > _______________________________________________ > users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx > Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx > Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure