Author Topic: Bandwidth limit and site suspension  (Read 5688 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Bandwidth limit and site suspension
« 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.

Offline
****
Re: Bandwidth limit and site suspension
« Reply #1 on: April 01, 2022, 12:53:33 PM »
/admin/index.php?module=packages

Create a new package with an increased bandwidth to assign to the account that keeps getting suspended.
Google Hangouts:  rcschaff82@gmail.com

Offline
*
Re: Bandwidth limit and site suspension
« Reply #2 on: April 01, 2022, 02:14:41 PM »
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.

Offline
****
Re: Bandwidth limit and site suspension
« Reply #3 on: April 01, 2022, 03:10:31 PM »
log into ssh

mysql

update root_cwp.user set bandwidth="0" where username="{username}";

Then unsuspend the account
Google Hangouts:  rcschaff82@gmail.com

Offline
*
Re: Bandwidth limit and site suspension
« Reply #4 on: April 04, 2022, 01:19:19 PM »
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
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: Bandwidth limit and site suspension
« Reply #5 on: January 09, 2023, 02:13:12 PM »
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

Offline
*
Re: Bandwidth limit and site suspension
« Reply #6 on: April 15, 2024, 09:00:21 AM »
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!