Firstly we would recommend to check the size of files in the directory /var/log/ as well as log files for specific hostings located in the directory /data/web/domain.tld/logs. The size can be discern from the command:
ls -alh /var/log/*
ls -alh /data/web/*/logs/
In the case of files from the directory of the hosting i.e. /data/web/domain.tld/logs/ it is suitable to firstly delete old archived records (with the extension .gz) and if more space is needed, you can use a command touch:
touch /data/web/domain.tld/logs/access_log
touch /data/web/domain.tld/logs/error_log
Check the size of all directories on the server. Firstly check how much space is taken by each hosting.
du -shc /data/web/* | sort -k1,1 -h
If they have a standard size, we would recommend to restart Apache2 with a command apache2ctl restart. Additional files will be cleared.
If even after that the space was not freed, it is necessary to check the size of all directories on the server via command
cd / ; du -shc / | sort - k1,1 -h
that will give you a sorted list of all large sized directories.
If the free space is fluctuating, the most common cause is a creation of temporary tables on the disc.
Running queries can be tracked via utility mytop, if you have a ServerManager services purchased, root password to the database is located in /root/.mysqlpass.
When searching trough query, all that create a temporary table on the disc are marked as Using temporary; Using filesort
If the disc has enough free space according to graphs or result of df -h, but you are unable to store files, there may an inconsistency at the level of the file system. In such a case, send a request to check the issue to our support at helpdesk@active24.eu.