Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Limit number of concurrent connections in Apache2

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

like image 710
M.N Avatar asked Jan 16 '09 14:01

M.N


People also ask

How many concurrent users can Apache handle?

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.

How do I know how many Apache connections I have?

The easiest would be using "netstat -an | find /c ":80"" to return a valid statistic for the number of connections open to port 80.

What is a concurrent connection limit?

Concurrent Connection: The maximum amount of simultaneous connections your server can handle.

What is server limit in Apache?

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.


1 Answers

Have a look at limitipconn module.

like image 103
kgiannakakis Avatar answered Nov 01 '22 04:11

kgiannakakis