[MDEV-31337] MariaDB 10.6.10 hang with lot a "check permissions" processlist. Created: 2023-05-24 Updated: 2023-06-27 Resolved: 2023-06-27 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.4.28, 10.6.12 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | ANDRE IVANES NIETHAMMER | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | 10.6.12, MariaDB, hang | ||
| Environment: |
windows (server 2019) and linux ubuntu |
||
| Description |
|
Mariadb hangs with list of processes in "check permissions" or "open tables", and only restarting the service resolves. |
| Comments |
| Comment by Daniel Black [ 2023-05-25 ] | |||||||||||||||||||||||||||||||||
|
How long after restarting the service until the problem presents itself again? At the moment it looks like your table_open_cache is insufficient. Can you include your configuration and SHOW GLOBAL STATUS at the time of contention. | |||||||||||||||||||||||||||||||||
| Comment by ANDRE IVANES NIETHAMMER [ 2023-05-25 ] | |||||||||||||||||||||||||||||||||
|
The problem reoccurs sporadically, sometimes it takes days and sometimes twice a day. my,cnf:
When it crashes again I will post the data of "SHOW GLOBAL STATUS". Thanks e best regards ! | |||||||||||||||||||||||||||||||||
| Comment by Daniel Black [ 2023-05-30 ] | |||||||||||||||||||||||||||||||||
|
Could this be swap related? innodb_buffer_pool_size looks rather small. How much memory do you have? tmp_table_size/max_heap_table_size is per connection so large in memory operations might end up running out of memory? | |||||||||||||||||||||||||||||||||
| Comment by ANDRE IVANES NIETHAMMER [ 2023-05-30 ] | |||||||||||||||||||||||||||||||||
|
The server has only 8gb of memory, and no swap is detected. The crash seems to occur when very long reads are being performed (BI). The tmp_table_size is no longer used so I'm going to remove it, we used tables with ENGINE MEMORY. | |||||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2023-06-27 ] | |||||||||||||||||||||||||||||||||
|
ANDRE_DBA, there was a month with no feedback. I hope it means MariaDB didn't crash for you. I'll tentatively close this issue then, but whenever you want to add more info — just add a comment and I'll reopen it again. Thanks. |