Limit number of concurrent connections in Apache2

2019-04-25 09:18发布

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

4条回答
来,给爷笑一个
2楼-- · 2019-04-25 09:35

Sure thing:

http://apache.ivn.cl/#bandwidth

and you can find a debian package too

libapache2-mod-bw

查看更多
Anthone
3楼-- · 2019-04-25 09:36

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.

查看更多
Summer. ? 凉城
4楼-- · 2019-04-25 09:40

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.

查看更多
Viruses.
5楼-- · 2019-04-25 09:58

Have a look at limitipconn module.

查看更多
登录 后发表回答