[FIXED] Stall/high cpu usage with youtube, high tab count, firefox

Post a reply

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: [FIXED] Stall/high cpu usage with youtube, high tab count, firefox

Re: [FIXED] Stall/high cpu usage with youtube, high tab count, firefox

by M-R » Wed Dec 23, 2020 2:05 am

I can confirm it too. I upgraded to 11.1.7 and the problem disappeared! Thank you!

Re: Stall/high cpu usage with youtube, high tab count, win7 firefox

by vadimm » Sat Dec 19, 2020 3:44 pm

Giorgio Maone wrote: ↑Fri Dec 18, 2020 7:54 pm Please check latest development build:

v 11.1.7rc3
============================================================
x Updated TLDs
x Optimize serviceWorker tracking for heavy tabs usage
(thanks vadimm and barbaz for investigation)

x Force placeholder visibility on Youtube embeddings
Looks like the issue is fixed. Thanks for quick response and for the great addon.

Re: Stall/high cpu usage with youtube, high tab count, win7 firefox

by SgtLion » Sat Dec 19, 2020 11:36 am

Just posting to say that the new development build seems to have completely solved this issue for me! Super pleased to see that my favourite add-on continues to have this good engagement and problem-fixing. Just an immense thank you!

Re: Stall/high cpu usage with youtube, high tab count, win7 firefox

by Giorgio Maone » Sat Dec 19, 2020 7:42 am

elfgoh wrote: ↑Sat Dec 19, 2020 5:03 am
elfgoh wrote: ↑Fri Dec 18, 2020 9:10 pm Thanks for the hard work. I just stumbled onto this thread from Google. Lucky me that there is already a new development build. I am glad to report that it resolves the problem for me.

Many thanks to others who provide details and context that lead to the bugfix πŸ™‡πŸ»β€β™‚οΈ
Just wondering, do I need to do anything to switch back to the stable release, once the working build gets released?
You just need to install a stable version to be back on the stable update channel.

Re: Stall/high cpu usage with youtube, high tab count, win7 firefox

by elfgoh » Sat Dec 19, 2020 5:03 am

elfgoh wrote: ↑Fri Dec 18, 2020 9:10 pm Thanks for the hard work. I just stumbled onto this thread from Google. Lucky me that there is already a new development build. I am glad to report that it resolves the problem for me.

Many thanks to others who provide details and context that lead to the bugfix πŸ™‡πŸ»β€β™‚οΈ
Just wondering, do I need to do anything to switch back to the stable release, once the working build gets released?

Re: Stall/high cpu usage with youtube, high tab count, win7 firefox

by Unicous » Fri Dec 18, 2020 9:43 pm

Thank you to all the people involved, the change is substantial and noticeable throughout Youtube and Twitter. After many frustrating months of troubleshooting the problem it seem to be fixed for good. Other affected websites seem to be working fine as well.

So again thank you.

Re: Stall/high cpu usage with youtube, high tab count, win7 firefox

by elfgoh » Fri Dec 18, 2020 9:10 pm

Thanks for the hard work. I just stumbled onto this thread from Google. Lucky me that there is already a new development build. I am glad to report that it resolves the problem for me.

Many thanks to others who provide details and context that lead to the bugfix πŸ™‡πŸ»β€β™‚οΈ

Re: Stall/high cpu usage with youtube, high tab count, win7 firefox

by Giorgio Maone » Fri Dec 18, 2020 7:54 pm

Please check latest development build:

v 11.1.7rc3
============================================================
x Updated TLDs
x Optimize serviceWorker tracking for heavy tabs usage
(thanks vadimm and barbaz for investigation)

x Force placeholder visibility on Youtube embeddings

Re: Stall/high cpu usage with youtube, high tab count, win7 firefox

by Giorgio Maone » Fri Dec 18, 2020 11:36 am

barbaz wrote: ↑Fri Dec 18, 2020 11:12 am Thanks vadimm for testing! Naively going through those commits, I would suspect one or both of the ServiceWorker-related commits: Youtube and Twitter both use ServiceWorkers, and I'm seeing some tab enumeration in those commits.

Does this problem depend at all on the selection of "Disable restrictions for this tab" or how many tabs for which you've selected "Disable restrictions for this tab"?
Thank you both for this insight. I'll try to check if I can go deeper from there.

Re: Stall/high cpu usage with youtube, high tab count, win7 firefox

by barbaz » Fri Dec 18, 2020 11:12 am

Thanks vadimm for testing! Naively going through those commits, I would suspect one or both of the ServiceWorker-related commits: Youtube and Twitter both use ServiceWorkers, and I'm seeing some tab enumeration in those commits.

Does this problem depend at all on the selection of "Disable restrictions for this tab" or how many tabs for which you've selected "Disable restrictions for this tab"?

Re: Stall/high cpu usage with youtube, high tab count, win7 firefox

by vadimm » Fri Dec 18, 2020 6:53 am

barbaz wrote: ↑Fri Dec 18, 2020 12:46 am Those of you who can test old versions, what is the last working rc version and what is first broken rc version?
I've tested and 11.0.12rc2 is the first version that has this issue.
11.0.12rc1 doesn't load CPU for a long time like tens of seconds when youtube page loads (even when i just refresh page with video), CPU load just peaks for 3-5 sec and firefox doesn't stall.

Re: Stall/high cpu usage with youtube, high tab count, win7 firefox

by barbaz » Fri Dec 18, 2020 12:46 am

Unicous wrote: ↑Thu Dec 17, 2020 9:56 pm Is that really the suggested solution to that bug? Using an almost one year old version?
IMO it is no solution. But it does provide useful information.
vadimm wrote: ↑Thu Dec 17, 2020 8:52 pm Installed version 11.0.11 from github, and it has no issue as it was described above, 11.0.12 has.
Thanks.

Those of you who can test old versions, what is the last working rc version and what is first broken rc version?

11.0.11rc2
11.0.12rc1
11.0.12rc2

Re: Stall/high cpu usage with youtube, high tab count, win7 firefox

by Unicous » Thu Dec 17, 2020 9:56 pm

Is that really the suggested solution to that bug? Using an almost one year old version?

I also have other websites that are seemingly affected by this bug, namely web.de.

I can mitigate that for a while by deleting the cookies but with every visit to the site the problem and stalling/hanging gets worse. It seems to work for Twitter too, but it lasts only a few times and then it gets worse again. It might be a problem with Firefox as well, the Bugzilla Thread i mentioned suggested that the Nightly version of Version 85 seemed to fix the bug, but since i'm now on Beta 85 i can't verify that claim unfortunately. Again as I said before, 11.1.6rc6 seems to have helped a bit but it's still far from being fixed, and other than reverting to an old version or private window, there seems to be nothing you can do "fix" it. After months and months of this happening it is becoming pretty frustrating. We know the cause to be most likely NoScript, but how and why is still unknown.

Re: Stall/high cpu usage with youtube, high tab count, win7 firefox

by vadimm » Thu Dec 17, 2020 8:52 pm

barbaz wrote: ↑Thu Dec 17, 2020 8:42 pm
vadimm wrote: ↑Thu Dec 17, 2020 8:00 pm Sadly oldest version available on AMO has it too.
Older versions than that can be found through the noscript.net feed I linked above. Were you looking for a specific older version?
Installed version 11.0.11 from github, and it has no issue as it was described above, 11.0.12 has.

Re: Stall/high cpu usage with youtube, high tab count, win7 firefox

by barbaz » Thu Dec 17, 2020 8:42 pm

vadimm wrote: ↑Thu Dec 17, 2020 8:00 pm Sadly oldest version available on AMO has it too.
Older versions than that can be found through the noscript.net feed I linked above. Were you looking for a specific older version?

Top