Re: [users@httpd] Re: Are this option

2022-03-24 Thread Marc Serra
Please don't spend more time on this until I write another email. I found sometrhng strange on our PHP code. Missatge de Marc Serra del dia dj., 24 de març 2022 a les 12:42: > > > Pretty bad numbers actually, aren't you limited by the network > > bandwidth between ab and the server? > > I think i

Re: [users@httpd] Re: Are this option

2022-03-24 Thread Marc Serra
> Pretty bad numbers actually, aren't you limited by the network > bandwidth between ab and the server? I think it isn't a bandwidth problem. Look ... wget https://domain.tld/test.zip --2022-03-24 12:04:26-- https://domain.tld/test.zip Resolving domain.tld (domain.tld)... 82.x.x.x Connecting to

Re: [users@httpd] Re: Are this option

2022-03-24 Thread Yann Ylavic
On Thu, Mar 24, 2022 at 9:36 AM Marc Serra wrote: > > I tested the settings with Apache Bench ... > > ab -l -H 'Accept-Encoding: gzip,deflate' -k -n 1 -c 1000 > https://www.DOMAIN1.TLD/index.html > > I'm not sure if the following are good numbers or bad numbers. Can > anyone help me interpret

Re: [users@httpd] Re: Are this option

2022-03-24 Thread Marc Serra
Hi again, I tested the settings with Apache Bench ... ab -l -H 'Accept-Encoding: gzip,deflate' -k -n 1 -c 1000 https://www.DOMAIN1.TLD/index.html I'm not sure if the following are good numbers or bad numbers. Can anyone help me interpret this result please? This is ApacheBench, Version 2.

Re: [users@httpd] Re: Are this option

2022-03-18 Thread Marc Serra
Thank you very much Yann, The workload will be static HTML files. The site typically has 1.000 visits per hour, but some days it has a sudden demand of 10.000 unique visitors in a matter of seconds. We start with your values and check periodically with mod_status. Thank's again Missatge de Yan

Re: [users@httpd] Re: Are this option

2022-03-18 Thread Yann Ylavic
On Fri, Mar 18, 2022 at 8:27 AM Marc Serra wrote: > > Thank's for your comments Frank, > > Reading the Apache documentation > (https://httpd.apache.org/docs/2.4/en/mod/mpm_common.html#threadlimit) > I cannot find the way to calculate an optimal value for ThreadLimit > and ThreadsPerChild directive

Re: [users@httpd] Re: Are this option

2022-03-18 Thread Marc Serra
Thank's for your comments Frank, Reading the Apache documentation (https://httpd.apache.org/docs/2.4/en/mod/mpm_common.html#threadlimit) I cannot find the way to calculate an optimal value for ThreadLimit and ThreadsPerChild directives for that reason I kept the default values (64 and 25). Can yo

Re: [users@httpd] Re: Are this option

2022-03-17 Thread Frank Gingras
Those settings could fit your workload, or not. You need to measure it with /server-status to see how many idle workers you have. That being said, ThreadsPerChild seems very low. Depending on your content, you could likely ramp up to a much higher value, which means that you would need less parent

[users@httpd] Re: Are this option

2022-03-16 Thread Marc Serra
I'm sorry to insist ... if this list is not the right place to ask that question, could anyone tell me where to do it? Thank's Missatge de Marc Serra del dia dc., 9 de març 2022 a les 18:01: > Hi, I want to configure an apache server to support a high load site. Are > these settings correct? >