[users@httpd] Calculating max workers

2021-04-26 Thread Norbert Elbanbuena
Hi, Can I still use this formula for sizing Apache on my system? (buffer/shared Mem - Reserved mem for other PID) / Apache PID size I'm just wondering how to calculate max capacity for my server. Regards, Norbert

Re: [users@httpd] mod_proxy_hcheck response timeout?

2021-04-26 Thread Yann Ylavic
Hi Daniel, On Thu, Apr 22, 2021 at 12:21 PM Daniel Ferradal wrote: > > Is my approach correct? As with most initial approaches to a specific > scenario, this may very well be the case, which other approach do you > suggest? I think that it's missing in the code but can't think of a workaround. D

Re: [users@httpd] Apache max workers in /server-status not same as MaxWorkers in mpm_event_module

2021-04-26 Thread Norbert Elbanbuena
Thank you so much I am very clear now! Regards, Norbert E. From: Eric Covener Sent: Monday, April 26, 2021 1:40 PM To: users@httpd.apache.org Subject: Re: [users@httpd] Apache max workers in /server-status not same as MaxWorkers in mpm_event_module On Mon,

Re: [users@httpd] Apache max workers in /server-status not same as MaxWorkers in mpm_event_module

2021-04-26 Thread Eric Covener
On Mon, Apr 26, 2021 at 2:28 PM Norbert Elbanbuena wrote: > Hi, > > $ ./apachectl -v > Server version: Apache/2.4.46 (Unix) > Server built: Nov 15 2020 14:32:04 > > I just accessed /server-status?refresh=5 to regularly refresh the page. > But I think understand the counts better now. My only ot

Re: [users@httpd] Apache max workers in /server-status not same as MaxWorkers in mpm_event_module

2021-04-26 Thread Norbert Elbanbuena
Hi, $ ./apachectl -v Server version: Apache/2.4.46 (Unix) Server built: Nov 15 2020 14:32:04 I just accessed /server-status?refresh=5 to regularly refresh the page. But I think understand the counts better now. My only other question is does the Request column retain the last URL requested or

Re: [users@httpd] mod_proxy_hcheck response timeout?

2021-04-26 Thread Daniel Ferradal
Ahh, thanks now I understand. I appreciate your feedback. El lun, 26 abr 2021 a las 17:48, Suvendu Sekhar Mondal () escribió: > > Hello Daniel, > > On Mon, Apr 26, 2021 at 7:02 PM Daniel Ferradal wrote: > > > > Thanks for answering > > > > Can you please elaborate on this? > > > > > What I did wa

Re: [users@httpd] Apache max workers in /server-status not same as MaxWorkers in mpm_event_module

2021-04-26 Thread Rodrigo Cunha
Hi, send the inventory this host with S/O version and Apache version. Send the command and options used for check status. Tks. On Mon, Apr 26, 2021 at 10:59 AM Norbert Elbanbuena wrote: > Hi, > > I attempted to tune Apache's configuration, and used below settings: > > > ThreadsPerChild 64 > Ma

Re: [users@httpd] Apache max workers in /server-status not same as MaxWorkers in mpm_event_module

2021-04-26 Thread Norbert Elbanbuena
So from what I understand, Apache status will display more than minimum server limit but will add more once spare threads is hitting the threshold. I currently have 18 childs with 64 threads per child but I should expect to see more child processes spawned if there are less than 800 idle workers.

Re: [users@httpd] mod_proxy_hcheck response timeout?

2021-04-26 Thread Suvendu Sekhar Mondal
Hello Daniel, On Mon, Apr 26, 2021 at 7:02 PM Daniel Ferradal wrote: > > Thanks for answering > > Can you please elaborate on this? > > What I did was, I changed the code of the page a bit so that it throws an exception(in my case of type Java) after waiting for some time. In the real world it co

Re: [users@httpd] Apache max workers in /server-status not same as MaxWorkers in mpm_event_module

2021-04-26 Thread Eric Covener
On Mon, Apr 26, 2021 at 9:53 AM Norbert Elbanbuena wrote: > Hi, > > I attempted to tune Apache's configuration, and used below settings: > > > ThreadsPerChild 64 > MaxRequestWorkers 1600 > MinSpareThreads 800 > MaxSpareThreads 1600 > ServerLimit 25 > MaxConnectionsPerChild 0 > > > But checking

[users@httpd] Apache max workers in /server-status not same as MaxWorkers in mpm_event_module

2021-04-26 Thread Norbert Elbanbuena
Hi, I attempted to tune Apache's configuration, and used below settings: ThreadsPerChild 64 MaxRequestWorkers 1600 MinSpareThreads 800 MaxSpareThreads 1600 ServerLimit 25 MaxConnectionsPerChild 0 But checking /server-status I only see Max workers up to 1152 Server uptime: 11 hours 20 minutes

Re: [users@httpd] mod_proxy_hcheck response timeout?

2021-04-26 Thread Daniel Ferradal
Thanks for answering Can you please elaborate on this? > What I found is that if I can generate an exception(say > timeoutexception) after waiting for some time then the health check is > failing properly and marking the worker as down. This could be the > alternative option until the health che

Re: [users@httpd] Monitoring httpd server performance

2021-04-26 Thread Mark H. Wood
On Sun, Apr 25, 2021 at 06:37:56PM -0400, H wrote: > Some of you may have read or participated in solving the issue I had setting > up a CentOS 7 server to serve php apps requiring different php versions. This > is now working. > > The next step is to monitor the web server, ie apache, with resp

[users@httpd] Apache server status shows multiple waiting for connections

2021-04-26 Thread Norbert Elbanbuena
Hi, I have started using Apache 2.4.6 as a front for Tomcat and noticed that there are a lot of connections showing as "_" Waiting for Connection as identified by the Scoreboard key in the /server-status output. Is Apache expected to close these connections or is it handled by the OS, or the we

Re: [users@httpd] mod_proxy_hcheck response timeout?

2021-04-26 Thread Suvendu Sekhar Mondal
Hi Daniel, On Thu, Apr 22, 2021 at 3:50 PM Daniel Ferradal wrote: > > Hello, > > I'm trying to examine a case in which we want a balancer member to be > set on fail if it can't responde in specific time to the hcheck > request > > This example configuration: > > > # example member 1 > BalancerMe