• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Limit concurrent users

S

sonaht

Guest
hi all

is there a way to limit the concurrent users on a vhost apache2 ?


thanks
 
I am amazed ... no one has ever had the same problem ?

I am looking into mod_cband ... any ideas ?
 
Sure you can,

Search on these configuration settings in httpd.conf (search on apache for some manuals about these config settings:)

ServerLimit
MaxClients
MaxRequestsPerChild
 
ServerLimit
MaxClients
MaxRequestsPerChild

Those are all server-wide settings and are not allowed in a VHost configuration, so I don't think it will work for the original poster.

It looks like the original poster is on the right path with mod_cband, tho. It would have to be done inside a module. If it works out for you, then please post back with your results -- I think it would still be useful for other admins.

Fortunately, I have not run into this problem with a single domain.
 
Originally posted by wagnerch
Those are all server-wide settings and are not allowed in a VHost configuration, so I don't think it will work for the original poster.

Oops u r right, missed that in his initial post. However cband works fine for apache2. Very simple to use!
 
Thanks gents

i knew about:

ServerLimit
MaxClients
MaxRequestsPerChild

already using them!!

You're absolutely right wagnerch these are server wide!

This is a very delicate operation as the system admin insists that it is not possible to do it!!

I am reading as we talk about cband, and hopefully tomorrow will set up a few vhost on one of our servers and see what happens!!

thanks for the help !
 
Back
Top