web server maximum number of users apache can handle?
apache, webserver
Solution
Apache comes with 40-100 max threads. It can be increased to allow more threads to be handled at the same time.
The application should be monitored before making any changes to it. Based on the response, try to change "ThreadsPerChild" and "AcceptThreads" accordingly.
The default amount of "maximum" number of threads is usually enough; however, there can be conditions where this number may have to be increased. The threads usage can be monitored. To monitor, start the Administrative instance, select the HTTP server in question, and select Real Time Server Statistics at the bottom left.
If Idle Threads is close to or at zero, this is a problem. As long as Idle Threads is zero, no new client connections can be established. New clients will be put into a wait status until a thread becomes available. Our recommendation for this condition is to add the directive ThreadsPerChild with an increased value, approximately double the current value if it was in the range of 40 to 100, or plus 50, if it was above 100. The required minimum value (for the maximum parameter) can only be found by trial and error. If after increasing the value, the server runs smoothly, stop testing.
(source)
Problem
My question is what is the maximum number of users that Apache webserver 2.2.2 can handle, i have a website which sometimes gets over 300+ concurrent users, however apache default configuration is set to max 150, i know i can increase this value, however if i do i fear that i might run over the capacity that Apache can handle, my server is quite powerful with 8 quad core AMD processor with 16 GM memory How do i determine how many requests that apache can handle, In general what the options/configurations for a best optimised for server loads. i.e disable keep alive ..etc When i increase the max user size , MySql eats up most of the processor power with going over 150% CPU sometimes .... not sure why .. Any experts ?