Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jul 2005
    Posts
    92

    Default Unsuspending Bandwidth Exceeded/Bandwidth Reset

    A feature already exists called "Unsuspending All Bandwidth Exceeded" (aka unsusbwall).

    It would be beneficial to be able to unsuspend bandwidth exceeders on an individual domain or username basis.

    Of course, you would also need to be able to reset the bandwidth counter, otherwise the account would simply be suspended again next time it is checked.

    I am on the understanding that the bandwidth counter can be reset by doing the following:

    echo -n 0 > /var/cpanel/bandwidth.cache/$domain

    However, I seem to be unable to "unsuspend" the bandwidth exceeder using the following:

    unsuspendacct $user

    I'd like to see this feature in WHM, however I'll settle for a solution now if anyone has one.

    Thanks.

    Update: I see /var/cpanel/bwlimited has the bandwidth limited domains.
    Last edited by hm2k; 10-29-2009 at 09:28 AM. Reason: update

  2. #2
    Member
    Join Date
    Jul 2005
    Posts
    92

    Default

    I have discovered that these 2 actions are not enough.

    I tried setting the /var/cpanel/bandwidth.cache/ set to 0 and removing files from /var/cpanel/bwlimited/.

    The server seems to add the files back again after a few hours.

    Furthermore, it's a case of removing all domains from that directory owned by the same user which has exceeded its bandwidth.

    After all, it's the user that has exceeded the bandwidth, not necessarily just the domain.

    I am now on the understanding that files in the directory below would need to be altered...

    /var/cpanel/bandwidth/

    Any ideas?

Similar Threads & Tags
Similar threads

  1. Exceeded Bandwidth
    By Jo byron in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-26-2007, 02:57 AM
  2. Bandwidth Exceeded
    By KLEVO in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-10-2005, 05:59 PM
  3. Bandwidth Exceeded -- No it's not!
    By ee99ee in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-16-2004, 01:58 AM
  4. bandwidth exceeded
    By ivaserver in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 02-22-2003, 11:25 AM
  5. bandwidth exceeded
    By orca in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-02-2003, 05:25 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube