[MDEV-24504] [FATAL] InnoDB: Semaphore wait has lasted > 600 seconds. We intentionally crash the server because it appears to be hung. Created: 2020-12-31 Updated: 2021-04-18 Resolved: 2021-04-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server, Storage Engine - InnoDB |
| Affects Version/s: | 10.5.8 |
| Fix Version/s: | 10.2.37, 10.3.28, 10.4.18, 10.5.9 |
| Type: | Bug | Priority: | Major |
| Reporter: | Fredrik Chabot | Assignee: | Marko Mäkelä |
| Resolution: | Duplicate | Votes: | 3 |
| Labels: | need_feedback, regression | ||
| Environment: |
Ubuntu 16.04 |
||
| Attachments: |
|
||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||
| Description |
|
We've upgraded several servers from the distro provided MariaDB to 10.5.8. Since then all upgraded servers crash every few days with: --Thread 140006271878912 has waited at btr0cur.cc line 1480 for 611.00 seconds the semaphore: |
| Comments |
| Comment by Jacek Kuczynski [ 2021-01-06 ] |
|
We have the very same problem. Attached the last entry in the error log. After crash there are no more entries in the log. Both instances (the crashed one) and the new one are trying to write to the same error log file:
After upgrade to 10.5.8 when DB crashed it was fully restarted. After second crash I decided to let it go as it is and after the initial crash there are no more crashes of DB (for last 9 days). I will additionally check if this problem is happening also on AWS EBS gp2 type storage. |
| Comment by Marko Mäkelä [ 2021-02-26 ] |
|
Without having stack traces of all threads during the hang, it is impossible to analyze this. This could be a duplicate of |
| Comment by Fredrik Chabot [ 2021-03-19 ] |
|
Version 10.5.9 seems to have resolved this issue. |