• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue WARN: Cannot store disk usage for DB 238

Dave W

Regular Pleskian
Server operating system version
CentOS Linux release 7.9
Plesk version and microupdate number
Plesk Obsidian 18.0.57.5
Greetz,

Anyone seen this;

Run

Code:
plesk sbin statistics --calculate-one --domain-name=domain.tld

get a ton of;
Code:
WARN: Cannot store disk usage for DB 204: domain 305 does not exist
WARN: Cannot store disk usage for DB 205: domain 305 does not exist
WARN: Cannot store disk usage for DB 206: domain 305 does not exist
WARN: Cannot store disk usage for DB 207: domain 312 does not exist
WARN: Cannot store disk usage for DB 208: domain 315 does not exist
WARN: Cannot store disk usage for DB 209: domain 313 does not exist

We use an external Mariadb server.

D.
 
Looks like a database inconsistency. It can probably be resolved by running plesk repair db -y.
 
What version of MariaDB are you using? The problem is only known for 5.x version so far. What is the setting of the variable "innodb_file_per_table"?
 
# mysql -V
mysql Ver 15.1 Distrib 5.5.68-MariaDB, for Linux (x86_64) using readline 5.1

MariaDB [(none)]> SHOW VARIABLES LIKE 'innodb_file_per_table';
+-----------------------+-------+
| Variable_name | Value |
+-----------------------+-------+
| innodb_file_per_table | OFF |
+-----------------------+-------+

I updated Plesk from 18.0.57 to 18.0.58 and this fixed the problem.
 
There are two underlying issues that need fixing: For one, the 5.5 version of MariaDB is more than just outdated. This will cause trouble in the future with other aspects of the software, too. For example you will need to convert your server to Alma 8 soon, because CentOS 7.9 is out of life. This won't work with MariaDB 5.5. Make sure to upgrade to MariaDB 10.5 and then - in a second step - from 10.5 to 10.11. Do not attempt to upgrade directly. Please check out this KB article on how to upgrade MariaDB: https://support.plesk.com/hc/en-us/...-5-to-5-6-5-7-or-MariaDB-5-5-to-10-x-on-Linux

The second is the innodb_file_per_table setting. I think the "OFF" can be the cause for the issue described above. It should be "ON" if I remember correctly. But again, with the upgrade to the newer MariaDB version this may no longer be required.
 
Back
Top