Unable to start psa service: No space left on device or Disk quota exceeded

Refers to:

  • Plesk 12.5 for Linux
  • Plesk 10.4 for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Created:

2016-11-16 12:41:16 UTC

Modified:

2016-12-21 18:58:32 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to start psa service: No space left on device or Disk quota exceeded

Symptoms

  • Unable to start psa service. The following error is shown:

    ERROR: Unable to create the PID file (/var/run/sw-engine.pid).: No space left on device (28)
  • The following error may be shown on Plesk login page:

    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)

    OR

    ERROR: PleskDBException: Unable to connect to database: mysql_connect(): Connection refused /var/lib/mysql/mysql.sock (Error code: 2002). Please check that database server is started and accessible. (Abstract.php:69)
  • The following error can be found in /var/log/messages :

    crond: postdrop: warning: mail_queue_enter: create file maildrop/550294.6391: No space left on device
  • Services fail to start:

    # systemctl status httpd.service
    ● httpd.service - The Apache HTTP Server
    Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
    Active: failed (Result: resources) since sab 2016-11-26 13:19:52 CET; 32min ago
    systemd[1]: httpd.service failed.
    systemd[1]: Starting The Apache HTTP Server...
    systemd[1]: httpd.service failed to run 'start' task: No space left on device

Cause

The inodes limit has been exceeded.

Resolution

Check if the inodes limit has been exceeded:

# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/vzfs 800000 800000 0 100% /
none 2097152 95 2097057 1% /dev

To solve the issue, increase the inodes limit. For a Virtuozzo container, you can use following command:

vzctl set 9790 --save --diskinodes 850000:900000

Additionally make sure that there is enough free disk space:

# df -h
Have more questions? Submit a request
Please sign in to leave a comment.