Skip to main content

Purging bandwidth databases

Comments

2 comments

  • cPanelLauren
    The data in the logs in /var/cpanel/bandwidth is stored in sqlite databases and is pulled from the cPanel domain access logs at /etc/apache2/domlogs. You could most likely mv the sqlite database but it will be recreated. The only way to stop this from being collected would be to disable cpanellogd - this would disable the domain access logs as well as any bandwidth logs. If you'd like to disable it you could run the following: touch /etc/cpanellogddisable
    Then stop the service: /scripts/restartsrv_cpanellogd --stop
    You can test to ensure it won't start again as well. You should get something similar to the following: [root@server bandwidth]# /scripts/restartsrv_cpanellogd --start (XID 3vm7r4) The "cpanellogd" service is disabled.
    0
  • cPanelMichael
    I'm fighting with low free disk space on my server and one of the things that uses allmost 3G of space are sqlite files in /var/cpanel/bandwidth and one of the files is 2.6G.

    Hello @gmarko, Could you open a
    0

Please sign in to leave a comment.