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
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
Sure thing:
http://apache.ivn.cl/#bandwidth
and you can find a debian package too
libapache2-mod-bw
We completely built an application layer thing that stored, checked and restricted the limit on # of application users that could be logged on concurrently.
If it got exceeded, we sent them to a 'waiting room' - worked like a charm.
So it was all application managed - we had multiple apache servers in a cluster.
We were not using the Zend clustering stuff , IMO.
I'm not sure if it will useful to you but definitely worth a chance.
Maybe you can use the directives MaxClients and ListenBackLog
Although they apply to the concurrent access to the entire server, not only your application, and on a resource base.
Have a look at limitipconn module.