Pale Moon (Linux) consuming 100% of CPU core, won't relinquish unless app closed.

Support and discussions for the x86/x64 Linux version of Pale Moon and specific Linux distribution questions related to the browser.

Moderator: trava90

Forum rules
If your question is about general use of the browser and not specific to Linux, then please use the General Support board.
BenFenner
Fanatic
Fanatic
Posts: 216
Joined: 2015-06-01, 12:52
Location: US Southeast

Re: Pale Moon (Linux) consuming 100% of CPU core, won't relinquish unless app closed.

Post by BenFenner » 2021-03-02, 21:57

The thread is too old for me to edit the title of the thread, but I've accepted vannilla's answer to mark this as solved.

BenFenner
Fanatic
Fanatic
Posts: 216
Joined: 2015-06-01, 12:52
Location: US Southeast

Re: Pale Moon (Linux) consuming 100% of CPU core, won't relinquish unless app closed.

Post by BenFenner » 2021-03-09, 14:50

Well, it happens MUCH less, but I've still had this issue crop up a bit.

For example, it's happening right now.

I'll probably just have to work around it for now.

BenFenner
Fanatic
Fanatic
Posts: 216
Joined: 2015-06-01, 12:52
Location: US Southeast

Re: Pale Moon (Linux) consuming 100% of CPU core, won't relinquish unless app closed.

Post by BenFenner » 2021-03-09, 15:55

It seems restoring my previous tabs is making things worse (obviously). If I close Pale Moon with the 7 tabs I had open when experiencing 100% CPU usage, and then close/relaunch PM, I'm immediately back where I started with 100% CPU usage.
I guess I'll have to turn that off, and maybe try to set up more than a single home page (I need 5 tabs open almost constantly for work).

vannilla
Board Warrior
Board Warrior
Posts: 1574
Joined: 2018-05-05, 13:29

Re: Pale Moon (Linux) consuming 100% of CPU core, won't relinquish unless app closed.

Post by vannilla » 2021-03-09, 16:36

If you can see that the browser is using hardware acceleration, then the CPU spikes might be caused by the websites themselves.
It can be quite heavy if you are in of those horrid places which use animated GIFs instead of videos (think of code-hosting websites like Github where people put many "videos" showcasing some feature) or just programmed poorly.

BenFenner
Fanatic
Fanatic
Posts: 216
Joined: 2015-06-01, 12:52
Location: US Southeast

Re: Pale Moon (Linux) consuming 100% of CPU core, won't relinquish unless app closed.

Post by BenFenner » 2021-03-12, 13:40

I'm pretty sure you're right that it is caused by some horrid web sites.

The problem is so prevalent now, I've marked this as unsolved again, and am here to report it happens almost immediately upon opening my browser now.
I do have 6 tabs automatically open when I launch Pale Moon, and maybe it is one of them.

1) Trello (opens to our Kanban board)
2) Google Calendar (opens to a month view)
3) Basecamp (opens to our home forum)
4) HelpScout (opens to our dashboard)
5) GitHub (opens to our repository issue list)
6) The well-behaved web site I am developing (opens to the simple login page)

I guess I could try to isolate which one is the culprit. Although it might just be a combination. I'll report back when I have more info. This is starting to become comical. :P

vannilla
Board Warrior
Board Warrior
Posts: 1574
Joined: 2018-05-05, 13:29

Re: Pale Moon (Linux) consuming 100% of CPU core, won't relinquish unless app closed.

Post by vannilla » 2021-03-12, 16:44

Not sure about your specific case, but some Google services would make my pc's fan spin, e.g. the spreadsheet service.
Thankfully I don't use them normally, but there are times where I end up there for one reason or another, and I always hear the fan going.
You might want, at least while testing things so not every moment, to visit only one of those sites at a time, meaning when you need to go to e.g. the calendar, instead of opening a new tab you use e.g. basecamp's tab.
I know it's not ideal, but if the CPU usage goes up only when one of those specific sites is being visited, you will find the culprit.

BenFenner
Fanatic
Fanatic
Posts: 216
Joined: 2015-06-01, 12:52
Location: US Southeast

Re: Pale Moon (Linux) consuming 100% of CPU core, won't relinquish unless app closed.

Post by BenFenner » 2021-03-17, 13:04

I did what you said vannilla and I've narrowed it down to GitHub (only usable because of the GitHub Web Components PolyFill extension).
It happens during scrolling, and I caught the issue in the console. It is a scroll positioning effect, for sure. I will look into it more later on as I have time.

Here is the URL in the error message so no one has to re-type it: https://developer.mozilla.org/docs/Mozi ... kedEffects

Image

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29675
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Pale Moon (Linux) consuming 100% of CPU core, won't relinquish unless app closed.

Post by Moonchild » 2021-03-17, 14:11

Meaning people should stop manually repositioning elements with JS upon scrolling because it's very CPU intensive, and use the CSS keywords for it that have been around for a looooong time.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

BenFenner
Fanatic
Fanatic
Posts: 216
Joined: 2015-06-01, 12:52
Location: US Southeast

Re: Pale Moon (Linux) consuming 100% of CPU core, won't relinquish unless app closed.

Post by BenFenner » 2021-03-17, 20:04

I've submitted a bug report in where I believe is the correct place: https://github.community/t/github-scrol ... sed/168703

And this one always seems relevant: https://motherfuckingwebsite.com

BenFenner
Fanatic
Fanatic
Posts: 216
Joined: 2015-06-01, 12:52
Location: US Southeast

Re: Pale Moon (Linux) consuming 100% of CPU core, won't relinquish unless app closed.

Post by BenFenner » 2021-03-17, 23:18

Okay, this is spooky.
The console error for GitHub still exists, but I'm not seeing the poor CPU behavior any more.
I'll give it a few more days but it was like clockwork before, and now, nothing...

Stay tuned.

BenFenner
Fanatic
Fanatic
Posts: 216
Joined: 2015-06-01, 12:52
Location: US Southeast

Re: Pale Moon (Linux) consuming 100% of CPU core, won't relinquish unless app closed.

Post by BenFenner » 2021-03-18, 12:43

It seems this issue might not actually be related to GitHub scrolling.

I have reproduced the issue right now with no error on GitHub, for a page that I never scrolled and has no scroll bar. I'll update the bug report.

Post Reply