SYMPTOMS
The following warning message is shown in Provider's Control Center:The number of used inodes or free disk space at one of the partitions has exceeded 80% CAUSE
The reason of this warning message was increased diskspace usage inside HSPcomplete VE.- To check current diskspace usage you may use the following command inside HSPcomplete VE:
# df -h - To check current inodes (number of files created) usage you may use the following command inside HSPcomplete VE:
# df -i
RESOLUTION
Please use the following steps to solve this issue:- increase diskspace for HSPcomplete VE from hardware node:
# vzquota stat 99 ## to check current limit
# vzctl set 99 --save --diskspace NEW_LIMIT ## to increase it - delete old logs under /var/log/hspc/ directory;
- decrease period which problem reports are kept with adjusting REPORT_EXPIRES variable (it is set in days) in /etc/hspc/hspc.conf configuration file inside HSPcomplete VE
- turn off MySQL binary logging and delete existing MySQL binary logs:
- login to mysql command line and execute the following command:
mysql > reset master; - comment 'log-bin' line in /etc/my.cnf configuration file (changes will be applied only after HSPcomplete VE restart)
- login to mysql command line and execute the following command:
- check if logrotate is working correctly as described in this article
Keywords: disk space, inodes