VDS Sphera Knowledge Base
Why is my disk space increasing, even when I do not add files?
There are 2 main places where your disk space could be growing.
-
You are not deleting your compressed log files from /www/logs. The error_log keeps a list of all errors from the web site. The access_log keeps all of the information about your visitors. Every so often, your server takes the current access log and compresses it into a .gz file. You should download these files and delete them periodically. After you delete either of these files you must restart your VDS in the control panel or run the SSH command:
/etc/rc.d/init.d/apachectl restart
NOTE: If you have Webalizer or Urchin installed, be careful deleting log files. These programs depend on the NON-compressed log files for their reports.
-
You are running MySQL and you are not deleting the MySQL log. You can see the fix for that here.
User Comments
| Why is my disk space increasing, even when I do not add files? |
|
| There are no user comments for this topic. |
|
| |
|
Attachments
Related Articles