If you get a warning message that you have low disk space on your server, there is a simple thing that you can do to remedy this.
First thing is to check where the heavy usage of space is. In many cases this heavy disk space usage is caused by website log files.
The simplest solution is to remove obsolete website log files, which can be done by setting up Log Rotation on your system, so that obsolete log files are removed from the system.
To switch on Log Rotation for a website:
Plesk > Domains > domain.com > Websites & Domains > Advanced Operations > Logs > Log Rotation
1 ) In Plesk go to the domain we are working on and click on ‘Website & Domains’ and in the Advanced Operations box select ‘Logs’.
2) Select the ‘Log Rotation’ icon in ‘Tools’ which will open a ‘Configure Rotation of log files’ screen in ‘Log Manager’.
3) Select the settings for the rotation of your log files.
It is notoriously unreliable to configure Log Rotation to rotate logs by file size and instead we recommend the following settings.
Log rotation condition = Daily
Maximum number of log files = 2
Compress Log Files = Tick
Hopefully the advice in this FAQ will help ensure you do not suffer from your disk space becoming exhausted too soon and consequently cause a failure in your services.
If however, you are not able to reduce the disk space you use it might be time for an upgrade. If you wish to discuss upgrade options please do not hesitate to contact us by calling on Tel: 0844 833 0333.
(Please note: screenshots are for Power User view, which will be different to that with Service Provider view)