Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

share|improve this question
Please add your complete MPM configuration (and which MPM you are actually using) to your question. The directive StartThreads is only valid for the MPMs beos, mpm_netware, and perchild. – joschi Oct 3 '09 at 10:50

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.

share|improve this answer

compile with --mpm=worker

share|improve this answer

If you read the documentation for MaxClients you'll notice it mentions that you also need to set ServerLimit to be equal to the value of MaxClients. I think this is what you are missing.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.