• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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