• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Issue MYSQL Memory spike during backup

thinkjarvis

Basic Pleskian
Server operating system version
Ubuntu 24.04.3 LTS
Plesk version and microupdate number
Plesk Obsidian Version 18.0.72 Update #2
We are seeing a consistent problem on one of our plesk servers.

When the scheduled backup runs (Set to save locally, databases only). It causes Maria DB/MYSQL memory consumption to jump by several gb. This memory is never flushed or purged.

Over a week - This memory use creeps until mysql and system memory hits over 90% of the ram total. This means that the PHP FPM processes no longer have enough available memory to run - Causing mariadb to crash.

We have had to schedule a nightly restart of mariadb via cron job to ensure that the memory doesnt continually fill.

I think this is a bug in Plesk. Any ideas on what might cause this behaviour or how I can release the alocated memory after a backup? Or just prevent the ram consumption completely?

The spike is the backup running, the sudden drop is our scheduled mariaDB restart.

1757493495659.png
 
MariaDB has a dedicated documentation page on memory usage and how to profile it, which might be a useful read.

Other interesting reads on MaraiDB memory usage are:
 
@Kaspar jemalloc looks interesting as a solution to the problem - If it can manage the memory pool more efficiently then we may have a winner here.

I am going to speak with our managed hosting providers to see if they can impliment on one of our servers as a test.
 
Back
Top