scripts/setbwlimit question
Hello,
Whenever I try to run /scripts/setbwlimit I get the following error
-bash: /scripts/setbwlimit: No such file or directory
Any ideas ?
Best
-
Hello, That script isn't available with EasyApache 4 at this time. Internal case EA-5336 is open to consider it for inclusion in the future, however there is no time frame to offer on when a decision will be made at this time. I'll update this thread with any new information as it becomes available. As a workaround, you could configure this manually for an individual domain name with the following steps: 1. Create an include directory for the individual domain name: mkdir /etc/apache2/conf.d/userdata/std/2/$username/$domain
2. Add the file cp_bw_all_limit.conf with the following code to configure a 15M limit:vi /etc/apache2/conf.d/userdata/std/2/$username/$domain/cp_bw_all_limit.conf
When editing the file, add these entries:BandWidthModule On ForceBandWidthModule On BandWidth all 15728640 BandWidthModule On BandWidth all 15728640
Save and exit the file. 3. Rebuild the Apache configuration file:/scripts/rebuildhttpdconf
Thank you.0 -
Hi, It is supposed to work without the mod Installed ? Thank you! 0 -
Hi, It is supposed to work without the mod Installed ? Thank you!
Those steps will mimic the actions previously offered with /scripts/setbwlimit, however the entries would only work with EA4 if you created a custom RPM for mod_bw using the information available at: ea4.ninja I encourage you to open a feature request for the inclusion of mod_bw with EasyApache 4 to complement the existing case, EA-5336. Thank you.0 -
Hello, To update, this inclusion of mod_bw as an option with EasyApache 4 is planned for later this month. Please follow the feature request for additional updates: Inclusion of mod_bw with EasyApache 4 Thanks! 0
Please sign in to leave a comment.
Comments
4 comments