Apache maximum request number 256

apache-2.2

I have a very good server running an Apache instance with mod_jk for proxying the request to an Application server.

I'm doing a load test and although I'm sending over 600 requests, the status worker keep showing this:

256 requests currently being processed, 0 idle workers

I'm using 'prefork MPM'

<IfModule prefork.c>
    ServerLimit          2048
    StartServers         5
    MinSpareServers      5
    MaxSpareServers      10
    MaxClients           1000
    MaxRequestsPerChild  0
</IfModule>

Is there a compiled limit for Apache to handle just 256 request or what would I be missing?

Best Answer

Kamil, no it doesn't. MaxClients is fine being lower than ServerLimit. You can increase MaxClients up to ServerLimit and that adjustment can be done with a graceful restart. To increase ServerLimit, you have to do a full restart.