httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Ames <grega...@remulak.net>
Subject Re: [PATCH] HardServerLimit directive for prefork MPM
Date Tue, 18 Dec 2001 18:48:30 GMT
Jeff Trawick wrote:

> cool, but of course it is perfect and needs no additional testing :)

well then, maybe the eggnog and Christmas cookies are making me
hallucinate, but with this config:

<IfModule prefork.c>
MinSpareServers 20
MaxSpareServers 50
StartServers 50
MaxClients 500
MaxRequestsPerChild 0
HardServerLimit 1000
</IfModule>

...I get:

[gregames@gandalf /ap2.org]$  bin/httpd -f conf/httpd.conf.8092
WARNING: MaxClients of 500 exceeds HardServerLimit value of 256 servers,
 lowering MaxClients to 256.  To increase, please see the
HardServerLimit
 directive.

If I move HardServerLimit up two lines in the config file (before
MaxClients), it goes away.  yikes!  

hmmm, seems like we have other cases like this already without order
problems... <peeks at worker> Worker has pre-config logic to swap
MaxClients and ThreadsPerChild if it doesn't like the order.  

Greg

Mime
View raw message