FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Disk Space eaten up





engeland
I think, bondings should be the one to take a look at this...

Unless, im wrong, im missing approximately 40mb!

total disk usage if viewed under "disk usage" totals up to approx. 50mb!

but the figures on the cpanelX home is 113.55mb!

my sql disk usage is only 2megs.

all i can remember doing before this happened is backing up my database.
that's all! Confused
Bondings
I have no idea what happened with your disk space. You seem to lack 30MB.

The disk space usage is cached, so maybe it will appear normal in a few hours/tomorrow.
Daniel15
Hi engeland,
Try this PHP file. Save it to your website as 'getspace.php' or something similar. It should tell you how much space you're using. (change [username] to your username).

If this value is far off from what cPanel says, then there's some sort of a problem.

Code:

<?php
clearstatcache();
$size = get_size("/home/[username]");
echo "Total size is ".$size." bytes (".($size/1048576)." MB)";


function get_size($path)
   {
       if(!is_dir($path))return filesize($path);
       $dir = opendir($path);
       while($file = readdir($dir))
       {
           if(is_file($path."/".$file))$size+=filesize($path."/".$file);
           if(is_dir($path."/".$file) && $file!="." && $file !="..")$size +=get_size($path."/".$file);
           
       }
       return $size;
   }
?>


Also, the 'Disk Usage' section of cPanel has a 'Clear File Usage Cache' button. This will clear the cache, and recalculate the total space used.
engeland
ok thanx for the help guys.

Ive regained back my missing mb. Very Happy

next time ill remember to try the "clear file usage cache" button
Daniel15
Glad to see that you solved the problem Very Happy

I'm going to -close- this topic, because you solved your problem. If you'd like to reopen it, just PM me or another moderator.
Related topics
Domain Disk Space
DISK Space
Low disk space
disk space
Disk space
Disk Space
Increase the disk space
Broken disk space moniter
Using Too Much Disk Space
Incorrect total disk space used (Solved)
3000 MB Disk Space
INCREASE YOUR DISK SPACE
What?it says the disk space and bandwidth is unlimited?
How much disk space is required for Linux?
This topic is locked: you cannot edit posts or make replies.    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.