Control Web Panel
WebPanel => Information => Topic started by: rafylsk on April 01, 2022, 12:45:04 PM
-
Hello everybody. Searching the internet I read that CWP does not support bandwidth capping and automatic account suspension. However, there is an account in my hosting being deactivated whenever it exceeds the bandwidth limit of the package. My problem is not having an option in CWP to reset this limit on the specific account, as there is in cpanel. I need to deactivate and activate the account for it to work again. And there is another problem besides that, sometimes the bandwidth limit does not reset on the first day of the month.
-
/admin/index.php?module=packages
Create a new package with an increased bandwidth to assign to the account that keeps getting suspended.
-
Thanks for the answer. That's what I've been doing, but it would be nice to have an option to reset the width for a specific user, just like cpanel.
-
log into ssh
mysql
update root_cwp.user set bandwidth="0" where username="{username}";
Then unsuspend the account
-
if you check the api functions you will see that there exists a command to reset bandwidth
http://wiki.centos-webpanel.com/cwp-admin-api
-
Hi,
You can reset the bandwidth by login root user via SSH
Reset Account Bandwidth (It will reset user bandwidth to 0 and UnSuspend Account):
/scripts/cwp_api account reset_bandwidth USERNAME
-
I'm encountering a similar issue, but I've taken the following steps to address it:
1. Log in to CWP and navigate to [packages => packages] using this link: /admin/index.php?module=packages.
2. Locate your package from the table, especially if you have multiple packages.
3. Under 'Actions,' click on the "</>" HTML icon to access package settings.
4. Update the Bandwidth MB field. By default, it's set to 100,000, but you can adjust it to 200,000 or your desired value.
5. After making the change, revisit your website to see if the issue has been resolved.
Thank you!