Does the cPanel install of mod_bandwidth allow you to set a server wide bandwidth limit? I have a server with about 1100 clients on it and I need to set the limit to 10GB per day.
Does the cPanel install of mod_bandwidth allow you to set a server wide bandwidth limit? I have a server with about 1100 clients on it and I need to set the limit to 10GB per day.
█ eMax Hosting, LLC - Providing Reliable Hosting Services for the past 3 years
¨€ cPanel, MySQL, 24/7 Support, Money Back Guarantee, *Free Website Builder*,
¨€ Shared Hosting, Reseller Hosting, Dedicated Management, Site Monitoring Services, 97% Client Rating
¨€ Have a Sales Questions? Call us toll free at 1-800-770-eMax!
Well, the cPanel install itself only offers the ability to limit on a per account basis from shell. Looking at the mod_bandwidth site quickly, it seems to suggest that it cannot be done server-wide, though I haven't tried:
http://www.cohprog.com/v3/bandwidth/doc-en.html
You could also look at mod_throttle too.
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
I've found lots of tutorials about mod_throttle such as http://www.webhostgear.com/160.html and all of them say:
With 1100 clients on one server, having to edit each one would takes days. Any idea what I can do to set this server wide.Edit your /etc/httpd/conf/httpd.conf and locate the virtualhost entry for the site you wish to throttle. Just BEFORE the </VirtualHost> entry, insert:
<IfModule mod_throttle.c>
ThrottlePolicy Volume 10G 30d
</IfModule>
<Location /throttle-me>
SetHandler throttle-me
</Location>
█ eMax Hosting, LLC - Providing Reliable Hosting Services for the past 3 years
¨€ cPanel, MySQL, 24/7 Support, Money Back Guarantee, *Free Website Builder*,
¨€ Shared Hosting, Reseller Hosting, Dedicated Management, Site Monitoring Services, 97% Client Rating
¨€ Have a Sales Questions? Call us toll free at 1-800-770-eMax!