Hi all,
I've updated my MPM to Worker through EasyApache4. I am using Apache 2.4 and my confusion comes from the documentation and online advice for configuring MPM Worker and the naming conventions. I have a few questions.
At the moment, I calculate that I can safely have 6 httpd processes running without overloading the server. My understanding of MPM is that it will spawn 25 threads per process... does this mean a maximum of 150 concurrent visitors to my site?
When I configure through 'Apache Configuration' => 'Global Configuration', I have the following;
Start Servers: 2
Minimum Spare Servers: 4
Maximum Spare Servers: 4
Server Limit: 6
Max Request Workers: 6
Max Connections Per Child: 10000
Questions...
1. When I read online advice, I'm told to set Max Request Workers to Server Limit x 25 (default number of threads per process) but cPanel won't let me exceed the value of 'Server Limit'. Is this correct? Are these settings limiting me to 6 concurrent visitors or still allowing 150?
Also, just to clarify terminology;
2. Newbie question but, does one 'visitor' count for one thread or are there situations where one visitor can use up multiple threads/processes.
3. The Max Connections Per Child, is this the number of visitors that the process receives before it dies or number of 'requests', like if I have a html page which requires 1000 requests (html, css, js, images etc.) will this kill the process after 10 page loads?
Thanks so much for your help in advance!
I've updated my MPM to Worker through EasyApache4. I am using Apache 2.4 and my confusion comes from the documentation and online advice for configuring MPM Worker and the naming conventions. I have a few questions.
At the moment, I calculate that I can safely have 6 httpd processes running without overloading the server. My understanding of MPM is that it will spawn 25 threads per process... does this mean a maximum of 150 concurrent visitors to my site?
When I configure through 'Apache Configuration' => 'Global Configuration', I have the following;
Start Servers: 2
Minimum Spare Servers: 4
Maximum Spare Servers: 4
Server Limit: 6
Max Request Workers: 6
Max Connections Per Child: 10000
Questions...
1. When I read online advice, I'm told to set Max Request Workers to Server Limit x 25 (default number of threads per process) but cPanel won't let me exceed the value of 'Server Limit'. Is this correct? Are these settings limiting me to 6 concurrent visitors or still allowing 150?
Also, just to clarify terminology;
2. Newbie question but, does one 'visitor' count for one thread or are there situations where one visitor can use up multiple threads/processes.
3. The Max Connections Per Child, is this the number of visitors that the process receives before it dies or number of 'requests', like if I have a html page which requires 1000 requests (html, css, js, images etc.) will this kill the process after 10 page loads?
Thanks so much for your help in advance!