Re: [users@httpd] How do I choose the best settings for the Apache Server?

2023-09-14 Thread Frank Gingras
There are no "best" values, either way; it depends on your traffic pattern. Use mod_status with ExtendedStatus on, and monitor /server-status to check how many idle workers you have, over time. On Thu, Sep 14, 2023 at 5:45 PM Stormy wrote: > On 2023-09-14 16:01, Jason Long wrote: > > Hello, >

Re: [users@httpd] How do I choose the best settings for the Apache Server?

2023-09-14 Thread Stormy
On 2023-09-14 16:01, Jason Long wrote: Hello, Thanks again. How about the other parameters? For example, how can I estimate the best value for "MaxRequestsPerChild", "ThreadsPerChild" and etc.? What is wrong with the default values? Why do you want to "estimate"? Have you tried different

Re: [users@httpd] How do I choose the best settings for the Apache Server?

2023-09-14 Thread Jason Long
Hello,Thanks again.How about the other parameters? For example, how can I estimate the best value for "MaxRequestsPerChild", "ThreadsPerChild" and etc.? On Thu, Sep 14, 2023 at 10:27 PM, Frank Gingras wrote: Just comment out the LoadModule line for prefork, and uncomment the line for

Re: [users@httpd] How do I choose the best settings for the Apache Server?

2023-09-14 Thread Frank Gingras
Just comment out the LoadModule line for prefork, and uncomment the line for event. There is no "template"; you just need to tweak event to spawn more workers if needed, but the default settings should be fine for small volumes. The prefork mpm should really be avoided at this point, as it

Re: [users@httpd] How do I choose the best settings for the Apache Server?

2023-09-14 Thread Jason Long
Hello,Thanks again.So, I must remove the "mpm_prefork_module" section. Am I right? Can you show me an Apache configuration template for use with Wordpress? When I must use "mpm_prefork_module"? On Thu, Sep 14, 2023 at 4:24 PM, Frank Gingras wrote: 500MB of RAM for the httpd processes,

Re: [users@httpd] How do I choose the best settings for the Apache Server?

2023-09-14 Thread Jason Long
Hello,Thank you so much for your reply.Can you tell me more about "It should run well under 500MB even with thousands of workers."? Do you mean 500 MB memory? My server uses WordPress, so it also has PHP and MySQL. What parameters should I change? What is the formula for calculating