Is there a way I can limit the number of concurrent connections to the Web Application running on my Apache Server.
My server version is Apache 2.2.11
By default, Apache web server is configured to support 150 concurrent connections. As your website traffic increases, Apache will start dropping additional requests and this will spoil customer experience.
The easiest would be using "netstat -an | find /c ":80"" to return a valid statistic for the number of connections open to port 80.
Concurrent Connection: The maximum amount of simultaneous connections your server can handle.
Server LimitationsThe default Apache setting for MaxClients is 256, however the fact that other distributions often use different values as the default setting must be taken into consideration. Given a desire to set the MaxClients value greater than 256, the ServerLimit setting must also be increased correspondingly.
Have a look at limitipconn module.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With