- Plesk for Linux
When opening Plesk or exporting/importing a database in Plesk, the operation fails with one of the following error messages:
PLESK_INFO: ERROR: Zend_Db_Statement_Exception: SQLSTATE[HY000]: General error: 1 Can't create/write to file '/tmp/#sql_74c6_0.MYI' (Errcode: 28) (Pdo.php:234)
PLESK_INFO: ERROR: Plesk\Exception\Database: DB query failed: SQLSTATE[HY000]: General error: 1021 Disk full (/var/tmp/#sql_3b95_1); waiting for someone to free some space..., query was: DESCRIBE `sessions`
Websites with MySQL databases are not accessible with the following error message in a web-browser:
PLESK_INFO: Error establishing a database connection
PLESK_INFO: WordPress database error: [Disk full (/var/tmp/#sql_5c1_0); waiting for someone to free some space...]
Plesk related services fail to start with the "No space left on device" error, for example:
# systemctl status mariadb.service
systemd: Starting MariaDB database server...
systemd: mariadb.service failed to run 'start-pre' task: No space left on device
systemd: Failed to start MariaDB database server.
systemd: mariadb.service failed.
Apache crashes from time to time with the following error message in
/var/log/httpd/error_log(on CentOS/RHEL-based distributions) /
/var/log/apache2/error.log(on Debian/Ubuntu-based distributions):
CONFIG_TEXT: Fatal Error Unable to create lock file: Bad file descriptor
Plesk and its components do not operate properly when there is no free disk space or the inodes limit has been reached on the root partition (or tmp partition if separated):
# df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 50G 50G 20K 100% /
# df -i /
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/vzfs 800000 800000 0 100% /
Increase the disk space of the server and resize the partition which have run out of space.
Note: Disk partitioning is not covered by Plesk Technical Support. If you are not familiar with Linux system administration and would like Plesk professionals to handle this task, please contact Plesk Professional Services team.
If the Plesk server is running in a Virtuozzo container (the file
/proc/user_beancounters exists on the server), the inode limit can be increased as described in this Virtuozzo KB article. If you are a container owner, contact your service provider for assistance.
Alternatively, try these methods to free up some disk space:
Free up the disk space by removing unnecessary files from the server.
In some cases, temporary files can take a significant amount of disk space on the server. Try to remove temporary files using the steps from this KB article.
Remove old backup files via a command-line interface (see the section Removing backups existing in Plesk: Via a command-line interface in this KB article).
If possible, attach a Network File System (NFS) and move Plesk data there. See these KB articles for instructions: