cPanel wrong disk space
cPanel gives me 4,477.1 MB but a website public html has only 50 MB!!!!!!!?
Please help!
Here is screen shoot:
-
Click into public_html, what do you find in there? 0 -
You can view on screenshot what is in public html. In public html root I only have some php files and nothing more. 0 -
Hello :) Does the overall disk space usage of the account that you see in cPanel and WHM reflect the same values that you notice listed for the public_html directory in the disk space usage viewer? If so, try fixing the quotas via: /scripts/fixquotas
Also, check the disk space usage from the command line to see if it matches up. EX:du -sh /home/user/public_html
Thank you.0 -
You can also find out where the largest files/folder is with this: nice -n 19 du -cksh * |sort -rn |head -21 > ducks.out & Run this from the web root (/var/home/) and look at ducks.out when it finishes. 0 -
I found problem. Error log has 4.3 GB :) I test something before, and doesnt work. I forgot delete error log... 0 -
Hi, Deleting the error_log or any other log file or "normal" file which is currently used by a process is not the right way to do it. This is because removing that file will leave the file descriptor opened and you ask yourself later why df -h does not correspond with du -sh. A proper way of freeing up the space in this situation is truncating the log file. Regards, Raul 0
Please sign in to leave a comment.
Comments
6 comments