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 need to increase the number of Apache requests from 150 to something like 500. Can someone shed some light on how to do this?

I'm using cPanel/WHM


migration rejected from Jun 29 '13 at 15:06

This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as too broad by Jenny D, Ward, Falcon Momot, SaveTheRbtz, Scott Pack Jun 29 '13 at 15:06

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.

This question appears to be off-topic because it concerns the use of shared web hosting by end users or resellers, rather than the administration of web hosting. – Jenny D Jun 28 '13 at 8:48

Do you mean concurrent requests, if so the setting is:

MaxClients 250

Apache (v1.3 and v2.2) are limited to 250(ish) concurrent requests without a custom build.

Even at 250 you can (with good dynamic code) handle over 25,600 requests a minute (we've done this in production, and ~15% of those requests were dynamic and were much slower then normal). That's over 420 requests a second.

Unless you're a large site, or run long-life HTTP requests (media, some IM systems) this is not a limitation unless you have very poorly coded apps.

Just out of curiosity where does the "250(ish)" limit come from? I haven't heard of that before. – Josh Oct 27 '09 at 17:02
It's one of those scaling limits that the apache guys decided on. You can raise it above that, but you're likely to hit other issues. As I said even at 250 you can handle many thousands of concurrent users. – LapTop006 Oct 28 '09 at 0:14

LapTop006's answer is correct however, if you're using cPanel/WHM, you can't simply modify /usr/local/apache/conf/httpd.conf as cPanel will overwrite your changes. Create a new file:


and put your changes in there, specifically the MaxClients 250 suggested by LapTop006. Then run:

/etc/init.d/httpd configtest

and if everything is OK, run:

/etc/init.d/httpd restart

In current time of writting it now seems to be posible to make this change directly in WHM. check under:

Main >> Service Configuration >> Apache Configuration >> Global Configuration