Jordi Prats wrote:
Hi all,
There's any way to formally propose this littler change to mod_status?
Jordi
On Mon, Aug 11, 2008 at 9:57 AM, Jordi Prats <[EMAIL PROTECTED]> wrote:
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
I'm asking, if those workers are spread across clients. I'm not altogether
clear if those were reaped, or if they just happened to line up.