[MDEV-21418] [Warning] InnoDB: A long semaphore wait Created: 2020-01-03 Updated: 2020-03-12 Resolved: 2020-03-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.2.22 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Dermot Brereton | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | need_feedback, semaphore | ||
| Environment: |
Ubuntu 16.04.6 LTS |
||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Description |
|
"[Warning] InnoDB: A long semaphore wait" messages logged in /var/log syslog. MariaDB eventually crashes and restarts; mysqld[926]: where mysqld died. If you see no messages after this, something went |
| Comments |
| Comment by Dermot Brereton [ 2020-01-03 ] | ||||||
|
| ||||||
| Comment by Marko Mäkelä [ 2020-01-03 ] | ||||||
|
There are know problems with innodb_adaptive_hash_index; see Dermot.Brereton, if you see hangs with innodb_adaptive_hash_index=0, please run
and try to create and preserve a core dump for further analysis. | ||||||
| Comment by Dermot Brereton [ 2020-01-03 ] | ||||||
|
I have no evidence from the attached logs that this issue is related to innodb_adaptive_hash_index Do you recommend setting innodb_adaptive_hash_index = 0 (the current value is 1)? Also based on the information provided in the attached syslog's is this issue similar to | ||||||
| Comment by Marko Mäkelä [ 2020-01-03 ] | ||||||
|
Dermot.Brereton, it is hard to analyze hangs solely based on server error log output. It could easily take more than 1 hour of my time, and still the cause could remain unresolved. Stack traces of all threads are a much more convenient and reliable way of analyzing hangs. I cannot say for sure which hang reports are related, because I have not seen the requested gdb output in any of them. My motivation to disable the adaptive hash index in MariaDB Server 10.5 by default ( | ||||||
| Comment by Sergei Golubchik [ 2020-02-03 ] | ||||||
|
Your crash could have the same underlying reason as in Try upgrading | ||||||
| Comment by Dermot Brereton [ 2020-02-13 ] | ||||||
|
Issue was resolved when the DRBD replication software was removed from the database server and the data file system created as ext4. | ||||||
| Comment by Dermot Brereton [ 2020-02-13 ] | ||||||
|
This ticket can now be closed. |