On Fri, Aug 8, 2008 at 7:04 PM, William A. Rowe, Jr.
<[EMAIL PROTECTED]> wrote:
> Jordi Prats wrote:
>>
>> I don't know about other implications of changing this line. I've just
>> tested it using prefork both restarting and reloading apache. What do
>> you think about this little change?
>
> How's your proposed patch interact with a server using slots 1-16, 128-136
> when they gracefully restart the server with a lower number of maxclients?
>
It works fine. For example:
Using:
MaxClients 15
ServerLimit 15
Using ab like this:
while true; do /usr/local/apache2/bin/ab -c 14 -n 5000
http://127.0.0.1/server-status; done
I get:
slots: 15 CCCCCCCCCCCCCWC
Then I gracefully restart apache using:
MaxClients 5
ServerLimit 15
Then I get:
slots: 5 WWCCR
regards
--
Jordi