(Cpanel clearing webspace page was last updated 5th August 2016)





    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

Search for the largest folders and list by size (in cpanel "disk usage" in American spiel for size) and drill-down from within your control panel (cpanel) and use that application to track down which folders hold the most data - scroll to the bottom of the cpanel-page and click the "+" next the largest folders to drill down, as shown below:

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.2011_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).  

 





^back to top^

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