Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

/var/cpanel/bandwidth folder size

Discussion in 'Workarounds and Optimization' started by moogle, Jan 13, 2010.

  1. moogle

    moogle Well-Known Member

    Apr 7, 2003
    Likes Received:
    Trophy Points:

    When I set up my most recent server, the /var partition was not correctly sized and now it's at 96%. Although my MySQL databases are taking up most of it, the other really big folder is the /var/cpanel/bandwidth folder, which is taking up 1.8GB.

    Is there something I can do to reduce this size? Is there a WHM setting to rotate these?
    What effect will it have to delete the contents of this folder?
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Apr 7, 2006
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    The contents of /var/cpanel/bandwidth are not log files, they are data. As such rotating them would have no effect, other than data loss.

    You'll lose all the bandwidth data for every account.

    Rather than deleting the directory, moving it to a location with more storage, then symlink to the old location. Something like:

    # mv /var/cpanel/bandwidth /home/bandwidth
    # ln -s /home/bandwidth /var/cpanel/bandwidth
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice