Re: [users@httpd] Question about server-status output
OK thanks On 4/7/15 11:31 AM, "Eric Covener" wrote: >On Tue, Apr 7, 2015 at 11:26 AM, Rose, John B wrote: >> This particular server is using prefork. So it seems like it would just >>be >> the absolute value set in MaxClients. But I guess that isn't the case. >>So >> in a prefork config what determines >> The number of spaces? >> >> We have a new 2.4 server we are using "event" MPM. I assume in that case >> what you said below would apply? > > >I think in that case it's extra space for ServerLimit > MaxClients. >For worker and event, add ThreadLimit as a multiplier. > >- >To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >For additional commands, e-mail: users-h...@httpd.apache.org > - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Question about server-status output
On Tue, Apr 7, 2015 at 11:42 AM, Rose, John B wrote: > So if Maxclients is less than 256 then ServerLimit is not set. In that > case ServerLimit defaults to 256? Therefore there should always be at > least 256 spots there, unless for some reason you set ServerLimit lower > than 256. Which you should not do? I am pretty sure I have seen much less > than 256 spots there somewhere along the line on some Apache server. > > So the number of positions is whatever the largest value is of MaxClients > or ServerLimit if prefork. Or largest of MaxClients/MaxRequestWorkers or > ServerLimit*ThreadLimit if threaded MPM? Yes, the compiled-in default for ServerLimit in prefork is 256. A low ServerLimit*ThreadLimit will cap what values httpd will let you configure for MaxClients, as opposed to silently boosting.There are some elaborate messages that complain hen the relationship between them is wrong and it will lower your MaxClients. -- Eric Covener cove...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Question about server-status output
So if Maxclients is less than 256 then ServerLimit is not set. In that case ServerLimit defaults to 256? Therefore there should always be at least 256 spots there, unless for some reason you set ServerLimit lower than 256. Which you should not do? I am pretty sure I have seen much less than 256 spots there somewhere along the line on some Apache server. So the number of positions is whatever the largest value is of MaxClients or ServerLimit if prefork. Or largest of MaxClients/MaxRequestWorkers or ServerLimit*ThreadLimit if threaded MPM? On 4/7/15 11:31 AM, "Eric Covener" wrote: >On Tue, Apr 7, 2015 at 11:26 AM, Rose, John B wrote: >> This particular server is using prefork. So it seems like it would just >>be >> the absolute value set in MaxClients. But I guess that isn't the case. >>So >> in a prefork config what determines >> The number of spaces? >> >> We have a new 2.4 server we are using "event" MPM. I assume in that case >> what you said below would apply? > > >I think in that case it's extra space for ServerLimit > MaxClients. >For worker and event, add ThreadLimit as a multiplier. > >- >To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >For additional commands, e-mail: users-h...@httpd.apache.org > - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Question about server-status output
This particular server is using prefork. So it seems like it would just be the absolute value set in MaxClients. But I guess that isn't the case. So in a prefork config what determines The number of spaces? We have a new 2.4 server we are using "event" MPM. I assume in that case what you said below would apply? Thanks On 4/7/15 11:19 AM, "Eric Covener" wrote: >On Tue, Apr 7, 2015 at 11:16 AM, Rose, John B wrote: >> So what determines the number of positions in that part of the output, >>and >> can that be interpreted to mean anything when monitoring your web >>server? > >There are spaces to grow into if ServerLimit*ThreadLimit > MaxClients. >Is that what you're seeing? > > >-- >Eric Covener >cove...@gmail.com > >- >To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >For additional commands, e-mail: users-h...@httpd.apache.org > - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Question about server-status output
On Tue, Apr 7, 2015 at 11:26 AM, Rose, John B wrote: > This particular server is using prefork. So it seems like it would just be > the absolute value set in MaxClients. But I guess that isn't the case. So > in a prefork config what determines > The number of spaces? > > We have a new 2.4 server we are using "event" MPM. I assume in that case > what you said below would apply? I think in that case it's extra space for ServerLimit > MaxClients. For worker and event, add ThreadLimit as a multiplier. - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Question about server-status output
On Tue, Apr 7, 2015 at 11:16 AM, Rose, John B wrote: > So what determines the number of positions in that part of the output, and > can that be interpreted to mean anything when monitoring your web server? There are spaces to grow into if ServerLimit*ThreadLimit > MaxClients. Is that what you're seeing? -- Eric Covener cove...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org