[MDEV-24636] InnoDB: Semaphore wait has lasted > 600 seconds. We intentionally crash the server because it appears to be hung. Created: 2021-01-21 Updated: 2023-05-12 Resolved: 2023-05-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.3.16 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | chencheng | Assignee: | Marko Mäkelä |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | crash, semaphore | ||
| Environment: |
MariaDB Version: 10.3.16 |
||
| Attachments: |
|
| Description |
|
“--Thread 140014490990336 has waited at srv0srv.cc line 915 for 921.00 seconds the semaphore: Our MariaDB server often restart due to the lock. And it happened even every hour after upgrading the CPU from 4 cores to 8 cores. We guess that has something to do with adaptive hash index. Bug it didn't work after set innodb_adaptive_hash_index=0. We have no idea. Can we solve this problem by upgrade to a newer version? Environment-> |
| Comments |
| Comment by Marko Mäkelä [ 2023-04-14 ] |
|
For diagnosing any hangs, we’d need full stack traces of all threads during the hang. Can you provide that? There have been several fixes to the adaptive hash index since this release. One prominent change was |