What count as Number of Processes on cPanel account ?
My hosting limit number of processes to 100. My Question is what count as process.
Because I am running code-server, and ps aux only show about 5 process. Meanwhile in the cpanel it shows 70. And that's only after I disable git functionality of vscode.
Thanked by (1)risharde
Comments
Did you ask the hosting provider? What did they say?
Take a look at CloudLinux's official documentation about what these LVE Resource Limits mean.
https://docs.cloudlinux.com/limits/#number-of-processes
The screenshot isn't representing what you are saying... I would have naively assumed that 1 process is when for example a single person visits the site and executes php once but that is too simple an answer for all set ups so I am curious to hear what an experienced provider can explain it as.
ONDYNAMIC NETWORKS | Chat & Support
Actually that's entry processes. It means at 1 time, only 20 person can hit at the very same time.
even the docs is very ambiguous.
it says
Hence why I asked the question, what is count as "process" and how can I see it from terminal. Because my terminal (ps aux and top) only shows about 10 process.
Yes sorry, wasn't criticizing what you were saying, only meant the screenshot wasn't showing the numbers you were saying. I agree, what you quoted is confusing and it's a great question that insight is needed for
ONDYNAMIC NETWORKS | Chat & Support
No need for sorry. It's fine. The naming is a bit confusing, you are not the only one confused one for another
Based on what the docs say number of processes stands for nproc so "nproc" command should show the number of existing processes for you.
the support replied, even they mistaken the Number of Process to Entry Process 😂
Doesn't nproc refer to Number Of Processor ?
https://man7.org/linux/man-pages/man1/nproc.1.html
This is what cloudlinux docs say about it:
yes. but it has nothing to do with nproc command. nproc does a totally different thing.