[Linux] Pale Moon 31 spawning dozens of processes.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
-
- New to the forum
- Posts: 1
- Joined: 2022-05-11, 10:58
[Linux] Pale Moon 31 spawning dozens of processes.
Running Pale Moon 31 on Linux. Just one Tab open.
ps -eLf | grep pale | wc -l
shows about 30 to 40 entries, why?
RES Mem about 150MB for each Process/Thread??
Then youtube opened an 50 processes seen. Browser Console shows some warnings and errors.
After accepting the YT cookies, CPU load and memory usage were normal, but three times before,
the computer was frozen due to high CPU load and memory usage.
Where has this config option gone to limit the number of processes?
Is 31 good enough or do we need a paler 32?
ps -eLf | grep pale | wc -l
shows about 30 to 40 entries, why?
RES Mem about 150MB for each Process/Thread??
Then youtube opened an 50 processes seen. Browser Console shows some warnings and errors.
After accepting the YT cookies, CPU load and memory usage were normal, but three times before,
the computer was frozen due to high CPU load and memory usage.
Where has this config option gone to limit the number of processes?
Is 31 good enough or do we need a paler 32?
-
- Moon Magic practitioner
- Posts: 2194
- Joined: 2018-05-05, 13:29
Re: [Linux] Pale Moon 31 spawning dozens of processes.
From ps's man page, under the EXAMPLES section:
Basically, you are counting threads.
Also, what's a paler 32?
Code: Select all
To get info about threads:
ps -eLf
ps axms
Also, what's a paler 32?
-
- Astronaut
- Posts: 749
- Joined: 2020-05-31, 04:33
Re: [Linux] Pale Moon 31 spawning dozens of processes.
You should try opening a chromium based browser and running that command - you'll find about 170 different processes are running. Web browsers do a lot of stuff.
And RES Mem of 150MB showing up on each process (I assume you are getting that from htop) is simply the total being used by Pale Moon. It's using 150mb, not 150mb*30 processes.
And yes, Youtube probably opens a lot of processes. Youtube is doing a lot of stuff besides just showing you videos. Like attempting to harvest your personal data.
And RES Mem of 150MB showing up on each process (I assume you are getting that from htop) is simply the total being used by Pale Moon. It's using 150mb, not 150mb*30 processes.
And yes, Youtube probably opens a lot of processes. Youtube is doing a lot of stuff besides just showing you videos. Like attempting to harvest your personal data.
-
- Knows the dark side
- Posts: 4983
- Joined: 2015-12-09, 15:45
Re: [Linux] Pale Moon 31 spawning dozens of processes.
Pale Moon is a single process multithreaded browser, and OP doesn't seem to know the difference between threads and processes. There is always only one Pale Moon process with multiple threads, unlike Chromezilla browsers that spawn a whole new process for every tab.andyprough wrote: ↑2022-05-11, 19:57You should try opening a chromium based browser and running that command - you'll find about 170 different processes are running. Web browsers do a lot of stuff.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
-
- Astronaut
- Posts: 749
- Joined: 2020-05-31, 04:33
Re: [Linux] Pale Moon 31 spawning dozens of processes.
Ahh, seems that I did not get that distinction either. Very interesting.moonbat wrote: ↑2022-05-12, 04:49Pale Moon is a single process multithreaded browser, and OP doesn't seem to know the difference between threads and processes. There is always only one Pale Moon process with multiple threads, unlike Chromezilla browsers that spawn a whole new process for every tab.
-
- Knows the dark side
- Posts: 4983
- Joined: 2015-12-09, 15:45
Re: [Linux] Pale Moon 31 spawning dozens of processes.
Moonchild posted a detailed explanation on the subject.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
Linux Mint 21 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX
-
- Astronaut
- Posts: 749
- Joined: 2020-05-31, 04:33
Re: [Linux] Pale Moon 31 spawning dozens of processes.
That's pretty cool, I was not aware of how fundamentally secure Pale Moon was. I've used it because I prefer to use something that's independent of the long tentacles of Google. Pale Moon is the most functional of the very small group of browser that are developed independently of Google code, such as Netsurf and Dillo.