Done
Details
Assignee
Satya BodapatiSatya BodapatiReporter
George LorchGeorge Lorch(Deactivated)Time tracking
2d loggedComponents
Priority
High
Details
Details
Assignee
Satya Bodapati
Satya BodapatiReporter
George Lorch
George Lorch(Deactivated)Time tracking
2d logged
Components
Priority
Smart Checklist
Smart Checklist
Smart Checklist
Created March 26, 2019 at 5:28 PM
Updated March 6, 2024 at 12:15 PM
Resolved April 1, 2019 at 11:23 AM
Running sysbench with 6 threads and 20 tables structured like
with table_open_cache=10 and table_open_cache_instances=8 on 8 core machine eventually consumes all memory. On 8.0 one can see a significant amount og memory being utilized by TABLE_SHARE::mem_root:
In this ^^ example, we see 11Gb used here where the process VSZ is around 17Gb and about to trip OOM killer in this environment.
In discussion w/ , we believe that the NP handlers are allocating memory off the wrong mem root, they should be using THD for transient open/close memory instead of the global TABLE_SHARE which is never released until the server is shut down.