[MDEV-18739] crash (long semaphore wait) Created: 2019-02-26 Updated: 2019-06-11 Resolved: 2019-06-11 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.4.2 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | Philip orleans | Assignee: | Marko Mäkelä |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | need_feedback | ||
| Environment: |
Linux |
||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Description |
|
I uploaded the log produced. |
| Comments |
| Comment by Marko Mäkelä [ 2019-03-12 ] | |||
|
In error.mysql.log
This might be related to the race condition that I identified in philip_38, does this always occur when you use TRUNCATE TABLE?
| |||
| Comment by Marko Mäkelä [ 2019-03-28 ] | |||
|
philip_38, is this issue repeatable with MariaDB 10.4.3? | |||
| Comment by Philip orleans [ 2019-04-09 ] | |||
|
RocksDB is flawed in a worse way than InnoDB. While it stores the information in a fraction of the space, it manages the memory wrong, or it does not manage the memory at all. | |||
| Comment by Philip orleans [ 2019-04-20 ] | |||
|
In my opinion, the memory leak is happening on any query with 'like' operator. It seems to work fine with any other type of select I have tested. | |||
| Comment by Marko Mäkelä [ 2019-05-14 ] | |||
|
philip_38, if you have an issue with MyRocks, I would suggest that you open a separate report for that. One way to trace memory allocation would be to use tcmalloc (possibly via LD_PRELOAD) and enable the heap profiler, then analyze the output. I did that in the past to diagnose some workload with InnoDB, and visualized the logs with something that generated input for GraphViz. Does the originally reported InnoDB problem with TRUNCATE TABLE still occur for you with MariaDB 10.4.4 or later? | |||
| Comment by Marko Mäkelä [ 2019-06-11 ] | |||
|
I am closing this, because I am unable to analyze or repeat this based on the available amount of information. Some InnoDB bugs were present in the release 10.4.2 and fixed later, so it is possible that this bug has already been fixed. |