httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: [PATCH] HardServerLimit directive for prefork MPM
Date Tue, 18 Dec 2001 19:01:45 GMT
Greg Ames <gregames@remulak.net> writes:

> 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>

silly me, I thought this was business as usual (i.e., user error) :)

> ...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.  

I'll implement such since there is precedence (though I think it
wiser to make the admin re-order and avoid having to maintain such
code).

-- 
Jeff Trawick | trawick@attglobal.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message