You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Dmytro Fedonin - Sun Microsystems <Dm...@Sun.COM> on 2007/06/06 11:48:13 UTC

[PATCH]: prefork Bug# 17792 MaxClients invalid prior to ServerLimit

The directives:

   MaxClients         512
   ServerLimit        512

in that order results in

   WARNING: MaxClients of 512 exceeds ServerLimit value of 256 servers,
   lowering MaxClients to 256.  To increase, please see the ServerLimit
   directive.

Reversing the directives fixes the problem.

I have tested following variants with changes in plain configuration:

Presence   |                           |
-----------|---------------------------|
MaxClients | x  x  x  x  x     x     o |
ServerLimit| x  x  x  x     x     x  o |
MC > SL    | x     x     x  x          |
Order (*)  | x  x                      |
===========|===========================|
Results    |                           |
-----------|---------------------------|
Values     | ok ok ok ok ok ok ok ok ok|
Verbosity  | 3  0  3  2  1  1  0  0  0 |
Comments   |    c     c  c  c  c     c |

Verbosity -- number of WARNING: to appear.
* - Order with x means ServerLimit appears prior MaxClients.
c - I would say situations with 'c' in comments quite normal and only 
one of them has verbosity 2 if MaxClients goes first and with value more 
than default one (256).

-- 
Best regards,
Dmytro