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 Wed, 19 Dec 2001 19:16:09 GMT
Aaron Bannert <aaron@clove.org> writes:

> Another thing that we need to consider here are settings that will reak
> havok, like AllocatedServers < MaxServers. I'd like to do some more
> runtime checking of these config params, but I'm not sure if post_config
> is the right place to do it if we want to be able to print to the console.
> Ideas?

What do you mean by MaxServers?  I'm guessing that for prefork you
mean MaxClients and for worker you mean MaxClients / ThreadsPerChild,
though I'm not 100% sure.

Note that all along we had sanity checking of our parameters against
HARD_SERVER_LIMIT/HARD_THREAD_LIMIT.  All such sanity checking
remains as-is though now we check against a variable instead of a
preprocessor define.  The only meaningful change with the checking is
that if you had a problem with such limits before you had to change a
build setting and re-compile whereas now you change a configuration
directive and do apachectl stop followed by apachectl start.

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