Plesk

mariadb.service: A process of this unit has been killed by the OOM killer.

Symptoms

Cause

The 'plesk db' command uses more memory than a native MySQL dump command. As a result, the process is being killed by OOM killer.

Resolution

Apply one or more of the following:

  1. Adjust OOM settings.

  2. Increase RAM on the server

  3. Use native 'mysqldump':

    # MYSQL_PWD=cat /etc/psa/.psa.shadow mysqldump -uadmin example_db > /var/www/vhosts/example.com/example.sql

Exit mobile version