We offer free DNS hosting and
    management for:
  • ✔ AC.UK domains
  • ✔ GOV.UK domains
  •  
    Contact us now...

cpanel - clearing webspace

If you are receiving email warnings of: Disk Usage Warning full? Or maybe your Disk usage is almost running out? Below shows how to clear some of the old unwanted files so making more available disk space.

FINDING which folders use the most space

Login to cpanel and use the Disk Usage feature to search for the largest folders and list by size ("disk usage" in American spiel for size).

Once on the Disk Usage page:

  • scroll down to the bottom of the page

  • then change "Sort directories by:" to "Disk Usage"

  • then click on the largest directories and drill-down the folders to track down which folders hold the most data - click the "+" next the largest folders to drill down

  • once you have found the folders with the largest files you can then delete as required using filemanager, so freeing web space again.

STATS

You can make more space available by removing unwanted files such as stats files from the following folders:
/tmp/analog
/tmp/awstats
/tmp/webalizer
/tmp/webalizerftp

You should download these to your own computer and store on a backup disc, CD, memory stick, or tape as required. Then delete the years/months you do not require from your hosting account.

You can automate the removal by adding a cron job like the following:

for AWSTATS use:
find /home/username/tmp/awstats -type f -name 'awstats*.txt' -exec rm -f {} \;

for WEBALISER use:
find /home/username/tmp/webalizer -type f -name '*.png' -o -name '*.html' -exec rm -f {} \;

BACKUPS

When you create a backup using cpanel the backup file will be placed in your home directory (by default - which is the root folder you see when you connect via ftp) with a name like:
       backup-3.20.2018_09-20-20_account-name.tar.gz
You should download these to your own computer and store on a backup disc, CD, memory stick, or tape. Then delete the backup file(s) from your hosting account.

MAIL

You may also note that the mail directory is taking up a lot of space. If so, use webmail or a desktop email client to delete/archive old messages.

If you have an email account which regularly uses webmail and is several years old you will find it is taking up a good deal of space. Squirrelmail tends to reserve space for session setting/etc and over time uses lots of space (the only way to completely clear this is to remove the email account and re-create it).  



Copyright © 1996-2019 Seiretto Ltd. All rights reserved.
Registered in England & Wales no: 4716409. VAT no: GB780 4245 32