[MDEV-22624] mariadb used for wordpress restarts and crashes continuously Created: 2020-05-19 Updated: 2020-09-21 Resolved: 2020-09-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Platform RedHat |
| Affects Version/s: | 10.3.17 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | Ralf Hartings | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | crash, innodb, need_feedback | ||
| Environment: |
Centos8 server with WordPress. Appstream packages from CentOS8: [root@server1 ~]# rpm -qa | grep maria |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
Yesterday, mariadb started to crash and restart continuously. No changes done to server in last 2 weeks, no updates done i these 2 weeks:
Forum told me to report this bug here. Recently, I experienced many attempts to access phpmyadmin and the database.
See more info on CENTOS forum: |
| Comments |
| Comment by Marko Mäkelä [ 2020-05-19 ] | |
|
The stack traces in journal.txt Note: innodb_force_recovery=5 will hard-wire the transaction isolation level to READ UNCOMMITTED. Also note that before version 10.5 (with If you have a repeatable test case (using SQL commands, and not using this corrupted data directory as a starting point), I am happy to analyze and fix it. | |
| Comment by Ralf Hartings [ 2020-05-19 ] | |
|
Thanks for the quick reply Marko! I am afraid, I'll need some step by step help here, as I am no expert Can you please tell me more specifically what I need to do? So, do I need to:
, with an option like I am very grateful for your help here! Can you please give more /Ralf | |
| Comment by Ralf Hartings [ 2020-05-19 ] | |
|
Ralf Hartings kommenterade Thanks for the quick reply Marko! I am afraid, I'll need some step by step help here, as I am no expert Can you please tell me more specifically what I need to do? So, do I need to:
I am very grateful for your help here! Can you please give more /Ralf | |
| Comment by Ralf Hartings [ 2020-05-19 ] | |
|
Marko, sorry for messing up this reply function... In the mean time I tried to trace back anything related to InnoDB, as this seems to be the reason/indication for/of the crash according to your reply. In Centos8 I found this directory /var/lib/mysql/mysql, where all but two files are dated Oct 16 (when I installed it).
Can it be as simple as to delete this whole directory or just the two files and reinstall all mariadb packages? Or, shoud I re-install the below two packages, which include something like "mysql" (as the files above are owned by mysql). [root@server1 mysql]# rpm -qa | grep mysql Thanks again for looking into this! /Ralf Ralf Hartings kommenterade Thanks for the quick reply Marko! I am afraid, I'll need some step by step help here, as I am no expert Can you please tell me more specifically what I need to do? So, do I need to:
I am very grateful for your help here! Can you please give more /Ralf | |
| Comment by Marko Mäkelä [ 2020-07-24 ] | |
|
ralf, sorry, I am not that familiar with systemd. I am an abnormal user of the database, because I only use it to run tests, to test the code that I my colleagues are modifying. Our support engineers would be happy to answer such questions to our customers. If you can repeat this problem by starting from an empty database (loading a logical dump or something), then I would be happy to analyze it. In our internal stress testing with Random Query Generator, we have not encountered any bugs in the undo logs recently. We have encountered and fixed some bugs in crash recovery, and theoretically those fixes might prevent this from reoccurring in the future. | |
| Comment by Ralf Hartings [ 2020-08-24 ] | |
|
Lets close this case |