Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

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

 
cachedatabasekernelmariadbmysql

Symptoms

  • Database dump fails with the following error:

    # plesk db dump example_db > /var/www/vhosts/example.com/example.sql
    signal: killed
    mysqldump: Got errno 32 on write

  • The following entries are found in /var/log/messages:

    test kernel: systemd invoked oom-killer: gfp_mask=0x201da, order=0, oom_score_adj=0
    test kernel: systemd cpuset=/ mems_allowed=0

    test kernel: lowmem_reserve[]: 0 0 0 0
    test kernel: Node 0 DMA: 3_4kB (M) 6_8kB (UEM) 7_16kB (UEM) 2_32kB (UM) 2_64kB (M) 1_128kB (E) 2_256kB (EM) 1_512kB (E) 2_1024kB (UE) 2_2048kB (EM) 0_4096kB = 7660kB
    test kernel: Node 0 DMA32: 283_4kB (UEM) 734_8kB (UE) 550_16kB (UE) 297_32kB (UEM) 222_64kB (UEM) 22_128kB (EM) 1_256kB (M) 0_512kB 0_1024kB 1_2048kB (M) 0_4096kB = 44636kB
    test kernel: Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
    test kernel: 58470 total pagecache pages
    test kernel: 0 pages in swap cache
    test kernel: Swap cache stats: add 0, delete 0, find 0/0
    test kernel: Free swap = 0kB
    test kernel: Total swap = 0kB
    test kernel: 524153 pages RAM

  • Dumping the database with the native MySQL command is successful:

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

     

  • Memory on the server might be somewhat limited, e.g:

    # free -mh
    total used free shared buff/cache available
    Mem: 1.8G 734M 157M 235M 946M 696M
    Swap: 0B 0B 0B

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 solutions:

  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

Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

MariaDB vs MongoDB: Which One To Choose?

Read More »

Plesk with Centralized Database and Network File System

Read More »

PostgreSQL vs MySQL: A Comparison Of The Popular Database Management Systems

Read More »
Knowledge Base

Plesk and websites are inaccessible after updating Plesk to Obsidian 18.0.43 on RHEL 8-based OS: DB query failed: SQLSTATE[HY000] [2002] No such file or directory

Read More »

Unable to install WordPress using Plesk WordPress Toolkit on CloudLinux : Call to undefined function json_encode()

Read More »

Unable to access Horde webmail or rename a domain in Plesk: Table ‘horde.table_name’ doesn’t exist

Read More »

MySQL/MariaDB fails to start when a Plesk server lacks disk space: SQLSTATE[HY000] No space left on device 500 PleskExceptionDatabase

Read More »

Hosting Wiki

  • Server Redundancy
  • CacheFly
  • Bare Metal Server
  • MySQL
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • Linux
  • SQL
  • Plesk
  • SQL database
  • NoSQL Database
  • Web Server
  • DNS Server
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family